diff options
| author | Nguyễn Gia Phong <cnx@loang.net> | 2023-11-19 06:08:55 +0900 |
|---|---|---|
| committer | Nguyễn Gia Phong <cnx@loang.net> | 2023-11-19 06:08:55 +0900 |
| commit | 225e65d30225393bef5b3f0d84ef1a26f88c30d1 (patch) | |
| tree | 6a1178bc351cb4e4882ba2d3c850071a1879a135 /src/GameTick.cpp | |
| parent | e68d3ee2380dba98a72f2668a2c2664fc993bb4a (diff) | |
| download | blackshades-225e65d30225393bef5b3f0d84ef1a26f88c30d1.tar.gz | |
Replace music with HQ tracks
Diffstat (limited to 'src/GameTick.cpp')
| -rw-r--r-- | src/GameTick.cpp | 6 |
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]); } |
