projects
/
micropolis
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1cd1061
)
water will not kill the monster
author
Michael Gernoth
<michael@gernoth.net>
Fri, 9 Oct 2009 15:57:40 +0000 (17:57 +0200)
committer
Michael Gernoth
<michael@gernoth.net>
Fri, 9 Oct 2009 15:57:40 +0000 (17:57 +0200)
this is how the original DOS-version behaves
src/sim/w_sprite.c
patch
|
blob
|
blame
|
history
diff --git
a/src/sim/w_sprite.c
b/src/sim/w_sprite.c
index
705bf28
..
c7258bb
100644
(file)
--- a/
src/sim/w_sprite.c
+++ b/
src/sim/w_sprite.c
@@
-1052,11
+1052,7
@@
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) &&
- (sprite->count != 0) &&
- (sprite->count < 900) &&
- (sprite->control == -1))) {
+ if (c == -1) {
sprite->frame = 0; /* kill zilla */
}