X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/6f214ac0ef5899987197c2e4c9baa0b51a04c197..34e37af786a9743ebe7bd76a518911affb9db72b:/src/sim/w_sprite.c?ds=inline diff --git a/src/sim/w_sprite.c b/src/sim/w_sprite.c index 1268e3d..c8837d5 100644 --- a/src/sim/w_sprite.c +++ b/src/sim/w_sprite.c @@ -1052,10 +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) || - ((c == RIVER) && + if ((c == -1) +#ifndef ORIGINAL_MONSTER_BEHAVIOUR + || ((c == RIVER) && (sprite->count != 0) && - (sprite->control == -1))) { + (sprite->count < 900) && + (sprite->control == -1)) +#endif + ) { sprite->frame = 0; /* kill zilla */ }