aboutsummaryrefslogtreecommitdiff
path: root/src/Person.cpp
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2023-11-27 04:50:21 +0900
committerNguyễn Gia Phong <cnx@loang.net>2023-11-27 04:50:21 +0900
commit8fe52d3bc5ca77bef22fbb366050c0e4ba2de1e2 (patch)
treea6241cc35fc5709e553f5234d004652a93de5ba2 /src/Person.cpp
parentc1a4dc721335b220a338f24fabc4ce67f86bdfcd (diff)
downloadblackshades-8fe52d3bc5ca77bef22fbb366050c0e4ba2de1e2.tar.gz
Add zombie munching sound
Diffstat (limited to 'src/Person.cpp')
-rw-r--r--src/Person.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Person.cpp b/src/Person.cpp
index aa99852..fc47b81 100644
--- a/src/Person.cpp
+++ b/src/Person.cpp
@@ -218,7 +218,7 @@ void Person::DoAnimations(int who)
auto soundsrc = (rotate(head_joint.position,
0, playerrotation, 0) + playercoords
- camera.position) / soundscalefactor;
- playSound(gSourceID[bodyhitsound],
+ playSound(gSourceID[munchsound],
soundsrc.x, soundsrc.y, soundsrc.z);
bleeding = 1;
bleeddelay = 1;
@@ -561,7 +561,7 @@ void Person::DoAnimationslite(int who)
auto soundsrc = (rotate(head_joint.position,
0, playerrotation, 0) + playercoords
- camera.position) / soundscalefactor;
- playSound(gSourceID[bodyhitsound],
+ playSound(gSourceID[munchsound],
soundsrc.x, soundsrc.y, soundsrc.z);
bleeding = 1;
bleeddelay = 1;