reduced delay until game over after player died in BD engine
authorHolger Schemel <info@artsoft.org>
Fri, 8 Mar 2024 20:21:38 +0000 (21:21 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 8 Mar 2024 20:21:43 +0000 (21:21 +0100)
src/game_bd/bd_caveengine.c

index b2c78716ecb08b8379e6e09215257c8e564cd0cc..fd5b3f05cf7cacd45c60c463aa579b062e29a949 100644 (file)
@@ -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 > 15) || 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.