aboutsummaryrefslogtreecommitdiff
path: root/src/GameTick.cpp
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2023-11-19 06:08:55 +0900
committerNguyễn Gia Phong <cnx@loang.net>2023-11-19 06:08:55 +0900
commit225e65d30225393bef5b3f0d84ef1a26f88c30d1 (patch)
tree6a1178bc351cb4e4882ba2d3c850071a1879a135 /src/GameTick.cpp
parente68d3ee2380dba98a72f2668a2c2664fc993bb4a (diff)
downloadblackshades-225e65d30225393bef5b3f0d84ef1a26f88c30d1.tar.gz
Replace music with HQ tracks
Diffstat (limited to 'src/GameTick.cpp')
-rw-r--r--src/GameTick.cpp6
1 files changed, 2 insertions, 4 deletions
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]);
}