diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/endingMgr.cpp | 2 | ||||
-rw-r--r-- | src/poweruphax.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/endingMgr.cpp b/src/endingMgr.cpp index 09dfc3c..984b497 100644 --- a/src/endingMgr.cpp +++ b/src/endingMgr.cpp @@ -273,7 +273,7 @@ void dEndingMgr_c::executeState_ThanksPeach() { SE_VOC_KO2_SAVE_PRINCESS }; dPlayerModelHandler_c *pmh = (dPlayerModelHandler_c*)(((u32)player) + 0x2A60); - int voc = vocs[pmh->mdlClass->player_id_1]; + int voc = vocs[pmh->mdlClass->player_id_2]; nw4r::snd::SoundHandle handle; PlaySoundWithFunctionB4(SoundRelatedClass, &handle, voc, 1); diff --git a/src/poweruphax.cpp b/src/poweruphax.cpp index 1bb5dc8..9eb3682 100644 --- a/src/poweruphax.cpp +++ b/src/poweruphax.cpp @@ -53,7 +53,7 @@ void dHammerSuitRenderer_c::setup(dPlayerModelHandler_c *handler, int sceneID) { const char *shellNames[] = { "shell", "shell", "shell", "shell", "shell" }; - shell.setup(rf.GetResMdl(shellNames[victim->player_id_1]), &allocator, 0, 1, 0); + shell.setup(rf.GetResMdl(shellNames[victim->player_id_2]), &allocator, 0, 1, 0); SetupTextures_MapObj(&shell, sceneID); allocator.unlink(); |