home · contact · privacy
Server: Skip redundant tests in try_thing_proliferation().
authorChristian Heller <c.heller@plomlompom.de>
Wed, 15 Oct 2014 08:44:42 +0000 (10:44 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 15 Oct 2014 08:44:42 +0000 (10:44 +0200)
src/server/things.c

index eaeeb9ee8b9b09d9a5e511e6a082504e2a8b830d..30563220a26d4830fded78b757a278aab0e5dc8a 100644 (file)
@@ -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;
                             }
                         }
                     }