From acdaf7a54812da8800a0e7cbaff17672057bdd0a Mon Sep 17 00:00:00 2001 From: Christian Heller <c.heller@plomlompom.de> Date: Wed, 15 Oct 2014 10:44:42 +0200 Subject: [PATCH] Server: Skip redundant tests in try_thing_proliferation(). --- src/server/things.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/things.c b/src/server/things.c index eaeeb9e..3056322 100644 --- a/src/server/things.c +++ b/src/server/things.c @@ -294,6 +294,7 @@ extern void try_thing_proliferation(struct Thing * t) && start.y == t->pos.y && start.x == t->pos.x) { drop = 1; + break; } } } -- 2.30.2