X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/eac62ca7b6eedabbbff58cb5f1c9d74e315d33e4..e049e4ba47308629d2233fdd3f85d49352463d9c:/src/sim/w_sprite.c diff --git a/src/sim/w_sprite.c b/src/sim/w_sprite.c index c7258bb..c8837d5 100644 --- a/src/sim/w_sprite.c +++ b/src/sim/w_sprite.c @@ -1052,7 +1052,14 @@ DoMonsterSprite(SimSprite *sprite) if (sprite->count > 0) sprite->count--; c = GetChar(sprite->x + sprite->x_hot, sprite->y + sprite->y_hot); - if (c == -1) { + if ((c == -1) +#ifndef ORIGINAL_MONSTER_BEHAVIOUR + || ((c == RIVER) && + (sprite->count != 0) && + (sprite->count < 900) && + (sprite->control == -1)) +#endif + ) { sprite->frame = 0; /* kill zilla */ }