summaryrefslogtreecommitdiff
path: root/src/shyguy.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/shyguy.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shyguy.cpp b/src/shyguy.cpp
index ced7a41..1e89a8a 100644
--- a/src/shyguy.cpp
+++ b/src/shyguy.cpp
@@ -333,10 +333,14 @@ daShyGuy *daShyGuy::build() {
}
if (this->damage > 1) {
+ nw4r::snd::SoundHandle handle;
+ PlaySoundWithFunctionB4(SoundRelatedClass, &handle, SE_EMY_DOWN, 1);
doStateChange(&StateID_DieSmoke);
this->_vf14C();
}
else {
+ nw4r::snd::SoundHandle handle;
+ PlaySoundWithFunctionB4(SoundRelatedClass, &handle, SE_EMY_KURIBO_L_DAMAGE_01, 1);
doStateChange(stateVar);
}
return true;
@@ -364,6 +368,7 @@ daShyGuy *daShyGuy::build() {
struct DoSomethingCool my_struct = { 0, this->pos, {1.2, 1.5, 1.5}, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };
this->frzMgr.Create_ICEACTORs( (void*)&my_struct, 1 );
__destroy_arr( (void*)&my_struct, sub_80024C20, 0x3C, 1 );
+ chrAnimation.setUpdateRate(0.0f);
return true;
}