added short delay before playing "game.losing" sound effect
authorHolger Schemel <info@artsoft.org>
Sun, 12 Mar 2023 12:38:54 +0000 (13:38 +0100)
committerHolger Schemel <info@artsoft.org>
Sun, 12 Mar 2023 12:39:03 +0000 (13:39 +0100)
src/game.c

index 49874ed7a437dbf6d2d1ac380eb90708d698cd6a..af43302f25dcf17a14fcbebab8b6f5494371a602 100644 (file)
@@ -15680,7 +15680,7 @@ void CheckGameOver(void)
 
   if (game_over_delay > 0)
   {
-    if (game_over_delay == game_over_delay_value)
+    if (game_over_delay == game_over_delay_value / 2)
       PlaySound(SND_GAME_LOSING);
 
     game_over_delay--;