mirror of
https://github.com/halpz/re3.git
synced 2024-12-25 18:05:27 +00:00
More fix
This commit is contained in:
parent
2ce6e59d9b
commit
3e6eea25b3
|
@ -22,6 +22,7 @@
|
||||||
#include "ColStore.h"
|
#include "ColStore.h"
|
||||||
#include "Radar.h"
|
#include "Radar.h"
|
||||||
#include "Pools.h"
|
#include "Pools.h"
|
||||||
|
#include "crossplatform.h"
|
||||||
|
|
||||||
//--MIAMI: file done
|
//--MIAMI: file done
|
||||||
|
|
||||||
|
|
|
@ -420,7 +420,7 @@ CCutsceneMgr::LoadCutsceneData_loading()
|
||||||
for (int i = 0; i < ms_numLoadObjectNames; i++) {
|
for (int i = 0; i < ms_numLoadObjectNames; i++) {
|
||||||
if (!ms_bRepeatObject[i])
|
if (!ms_bRepeatObject[i])
|
||||||
cutsceneObject = CreateCutsceneObject(ms_iModelIndex[i]);
|
cutsceneObject = CreateCutsceneObject(ms_iModelIndex[i]);
|
||||||
if (ms_cLoadAnimName[i] != '\0')
|
if (ms_cLoadAnimName[i][0] != '\0')
|
||||||
SetCutsceneAnim(ms_cLoadAnimName[i], cutsceneObject);
|
SetCutsceneAnim(ms_cLoadAnimName[i], cutsceneObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -475,7 +475,7 @@ CCutsceneMgr::LoadCutsceneData_postload(bool b)
|
||||||
RwStreamClose(stream, nil);
|
RwStreamClose(stream, nil);
|
||||||
|
|
||||||
int file = CFileMgr::OpenFile("ANIM\\CUTS.IMG", "rb");
|
int file = CFileMgr::OpenFile("ANIM\\CUTS.IMG", "rb");
|
||||||
sprintf(gString, "%s.DAT", &ms_cutsceneName);
|
sprintf(gString, "%s.DAT", ms_cutsceneName);
|
||||||
if (file) {
|
if (file) {
|
||||||
if (ms_pCutsceneDir->FindItem(gString, offset, size))
|
if (ms_pCutsceneDir->FindItem(gString, offset, size))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue