From: Michael Gernoth Date: Fri, 9 Oct 2009 15:33:16 +0000 (+0200) Subject: let the monster survive if it is born in a river X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/commitdiff_plain/1cd106120989b0223e02d3ba58c806c44d735035 let the monster survive if it is born in a river --- diff --git a/src/sim/w_sprite.c b/src/sim/w_sprite.c index 1268e3d..705bf28 100644 --- a/src/sim/w_sprite.c +++ b/src/sim/w_sprite.c @@ -1055,6 +1055,7 @@ DoMonsterSprite(SimSprite *sprite) if ((c == -1) || ((c == RIVER) && (sprite->count != 0) && + (sprite->count < 900) && (sprite->control == -1))) { sprite->frame = 0; /* kill zilla */ }