diff options
| author | Nguyễn Gia Phong <cnx@loang.net> | 2023-11-27 04:50:21 +0900 |
|---|---|---|
| committer | Nguyễn Gia Phong <cnx@loang.net> | 2023-11-27 04:50:21 +0900 |
| commit | 8fe52d3bc5ca77bef22fbb366050c0e4ba2de1e2 (patch) | |
| tree | a6241cc35fc5709e553f5234d004652a93de5ba2 /src/Person.cpp | |
| parent | c1a4dc721335b220a338f24fabc4ce67f86bdfcd (diff) | |
| download | blackshades-8fe52d3bc5ca77bef22fbb366050c0e4ba2de1e2.tar.gz | |
Add zombie munching sound
Diffstat (limited to 'src/Person.cpp')
| -rw-r--r-- | src/Person.cpp | 4 |
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; |
