From: Christian Heller Date: Wed, 15 Oct 2014 08:44:42 +0000 (+0200) Subject: Server: Skip redundant tests in try_thing_proliferation(). X-Git-Tag: tce~622 X-Git-Url: https://plomlompom.com/repos/te"st.html?a=commitdiff_plain;h=acdaf7a54812da8800a0e7cbaff17672057bdd0a;p=plomrogue Server: Skip redundant tests in try_thing_proliferation(). --- 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; } } }