- make game load replay files not from 'A' folder

This commit is contained in:
InspirationByte 2022-02-18 09:30:52 +03:00
parent b76ced0ac6
commit e091b941fa
2 changed files with 2 additions and 8 deletions

View File

@ -282,10 +282,7 @@ int LoadCutsceneAsReplay(int subindex)
gCutsceneAsReplay_ReChaseLoaded = 0;
printWarning("--- NO re-recorded chases available! ---\n");
if (gCutsceneAsReplay < 21)
sprintf(filename, "REPLAYS\\CUT%d.R", gCutsceneAsReplay);
else
sprintf(filename, "REPLAYS\\A\\CUT%d.R", gCutsceneAsReplay);
sprintf(filename, "REPLAYS\\CUT%d.R", gCutsceneAsReplay);
}
else
{

View File

@ -437,10 +437,7 @@ int SelectCutsceneFile(char* filename, int init, int subindex)
}
else
{
if (gCurrentMissionNumber < 21)
sprintf(filename, "REPLAYS\\CUT%d.R", gCurrentMissionNumber);
else
sprintf(filename, "REPLAYS\\A\\CUT%d.R", gCurrentMissionNumber);
sprintf(filename, "REPLAYS\\CUT%d.R", gCurrentMissionNumber);
}
return FileExists(filename);