diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-12 00:53:48 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-12 01:15:44 +0100 |
commit | 3e6eea25b3067bb02d6be8398817cd85dbc8de35 (patch) | |
tree | 7c6aa039cc3c4b0eb4a8714ae75afd50a504b55b | |
parent | PLAY_ANNOUNCEMENT (diff) | |
download | re3-3e6eea25b3067bb02d6be8398817cd85dbc8de35.tar re3-3e6eea25b3067bb02d6be8398817cd85dbc8de35.tar.gz re3-3e6eea25b3067bb02d6be8398817cd85dbc8de35.tar.bz2 re3-3e6eea25b3067bb02d6be8398817cd85dbc8de35.tar.lz re3-3e6eea25b3067bb02d6be8398817cd85dbc8de35.tar.xz re3-3e6eea25b3067bb02d6be8398817cd85dbc8de35.tar.zst re3-3e6eea25b3067bb02d6be8398817cd85dbc8de35.zip |
-rw-r--r-- | src/animation/CutsceneMgr.cpp | 1 | ||||
-rw-r--r-- | src/animation/CutsceneMgr_overlay.cpp | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/animation/CutsceneMgr.cpp b/src/animation/CutsceneMgr.cpp index 583cf9d5..bbbd9aa3 100644 --- a/src/animation/CutsceneMgr.cpp +++ b/src/animation/CutsceneMgr.cpp @@ -22,6 +22,7 @@ #include "ColStore.h" #include "Radar.h" #include "Pools.h" +#include "crossplatform.h" //--MIAMI: file done 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)) { |