summaryrefslogtreecommitdiff
path: root/src/endingMgr.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-06-02 23:28:26 +0200
committerTreeki <treeki@gmail.com>2013-06-02 23:28:26 +0200
commit60e99868bebccd520f29284c34f90fcb22c036b9 (patch)
treef87048c436804518ba61139a69d2e67e9122ea7d /src/endingMgr.cpp
parent59224f4e86b57638965422808878332fb775c00a (diff)
downloadkamek-60e99868bebccd520f29284c34f90fcb22c036b9.tar.gz
kamek-60e99868bebccd520f29284c34f90fcb22c036b9.zip
change a couple of wrong player id vars
Diffstat (limited to '')
-rw-r--r--src/endingMgr.cpp2
1 files changed, 1 insertions, 1 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);