aboutsummaryrefslogtreecommitdiff
path: root/src/GameTick.cpp
diff options
context:
space:
mode:
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]);
}