From 225e65d30225393bef5b3f0d84ef1a26f88c30d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Sun, 19 Nov 2023 06:08:55 +0900 Subject: Replace music with HQ tracks --- src/GameTick.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/GameTick.cpp') diff --git a/src/GameTick.cpp b/src/GameTick.cpp index a449ae2..932a38c 100644 --- a/src/GameTick.cpp +++ b/src/GameTick.cpp @@ -97,11 +97,9 @@ void updateSong(Game* game) alSourceStop(gSourceID[game->whichsong]); if (game->type == zombie_type) game->whichsong = zombiesong; - else if (game->person[0].whichgun == knife) - game->whichsong = knifesong; else - game->whichsong = shootsong; - alSourcef(gSourceID[game->whichsong], AL_PITCH, 1); + game->whichsong = assassinsong; + alSourcef(gSourceID[game->whichsong], AL_PITCH, 1.0f); alSourcePlay(gSourceID[game->whichsong]); } -- cgit v1.2.3