projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98c783a
)
reduced delay until game over after player died in BD engine
author
Holger Schemel
<info@artsoft.org>
Fri, 8 Mar 2024 20:21:38 +0000
(21:21 +0100)
committer
Holger Schemel
<info@artsoft.org>
Fri, 8 Mar 2024 20:21:43 +0000
(21:21 +0100)
src/game_bd/bd_caveengine.c
patch
|
blob
|
history
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.
- 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.