]> cvs.zerfleddert.de Git - micropolis/commitdiff
let the monster survive if it is born in a river
authorMichael Gernoth <michael@gernoth.net>
Fri, 9 Oct 2009 15:33:16 +0000 (17:33 +0200)
committerMichael Gernoth <michael@gernoth.net>
Fri, 9 Oct 2009 15:33:16 +0000 (17:33 +0200)
src/sim/w_sprite.c

index 1268e3d824999ed05610cae8fad2815db57a55c3..705bf28085b5950e0b9531bfa7f01daccb567c32 100644 (file)
@@ -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 */
   }
Impressum, Datenschutz