summaryrefslogtreecommitdiffstats
path: root/src/animation/CutsceneMgr_overlay.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/animation/CutsceneMgr_overlay.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/animation/CutsceneMgr_overlay.cpp b/src/animation/CutsceneMgr_overlay.cpp
index b1ca684c..5fcb752d 100644
--- a/src/animation/CutsceneMgr_overlay.cpp
+++ b/src/animation/CutsceneMgr_overlay.cpp
@@ -420,7 +420,7 @@ CCutsceneMgr::LoadCutsceneData_loading()
for (int i = 0; i < ms_numLoadObjectNames; i++) {
if (!ms_bRepeatObject[i])
cutsceneObject = CreateCutsceneObject(ms_iModelIndex[i]);
- if (ms_cLoadAnimName[i] != '\0')
+ if (ms_cLoadAnimName[i][0] != '\0')
SetCutsceneAnim(ms_cLoadAnimName[i], cutsceneObject);
}
@@ -475,7 +475,7 @@ CCutsceneMgr::LoadCutsceneData_postload(bool b)
RwStreamClose(stream, nil);
int file = CFileMgr::OpenFile("ANIM\\CUTS.IMG", "rb");
- sprintf(gString, "%s.DAT", &ms_cutsceneName);
+ sprintf(gString, "%s.DAT", ms_cutsceneName);
if (file) {
if (ms_pCutsceneDir->FindItem(gString, offset, size))
{