]> git.lizzy.rs Git - nothing.git/commitdiff
Play player death cue once
authorrexim <reximkut@gmail.com>
Sun, 29 Apr 2018 18:58:37 +0000 (01:58 +0700)
committerrexim <reximkut@gmail.com>
Sun, 29 Apr 2018 18:58:37 +0000 (01:58 +0700)
src/game/level/player.c

index 00376a5df6728cfbb4b5f6bca7496e98839e1e8c..16b34d9db669ec4bb18559431f5ef01d86c29e3c 100644 (file)
@@ -254,7 +254,7 @@ int player_sound(player_t *player,
     if (player->play_die_cue) {
         player->play_die_cue = 0;
 
-        if (sound_medium_play_sound(sound_medium, 0, 1) < 0) {
+        if (sound_medium_play_sound(sound_medium, 0, 0) < 0) {
             return -1;
         }
     }