projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved code to separate function
[rocksndiamonds.git]
/
src
/
game_bd
/
bd_caveengine.c
diff --git
a/src/game_bd/bd_caveengine.c
b/src/game_bd/bd_caveengine.c
index b2c78716ecb08b8379e6e09215257c8e564cd0cc..fd5b3f05cf7cacd45c60c463aa579b062e29a949 100644
(file)
--- a/
src/game_bd/bd_caveengine.c
+++ b/
src/game_bd/bd_caveengine.c
@@
-3472,7
+3472,7
@@
void gd_cave_iterate(GdCave *cave, GdDirection player_move, boolean player_fire,
// PLAYER
// check if player is alive.
// PLAYER
// check if player is alive.
- if ((cave->player_state == GD_PL_LIVING && cave->player_seen_ago > 1
5
) || cave->kill_player)
+ if ((cave->player_state == GD_PL_LIVING && cave->player_seen_ago > 1) || cave->kill_player)
cave->player_state = GD_PL_DIED;
// check if any voodoo exploded, and kill players the next scan if that happended.
cave->player_state = GD_PL_DIED;
// check if any voodoo exploded, and kill players the next scan if that happended.