Another Mac/Linux build fix

console-destruction
Sven Eberhardt 2016-08-28 10:23:13 -04:00
parent 5a2e96e25b
commit 80d5810c3e
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ bool C4Console::SaveScenario(const char * path)
Message(FormatString(LoadResStr("IDS_CNS_SAVEASERROR"),path).getData());
return false;
}
SCopy(path, Game.ScenarioFilename, MAX_PATH);
SCopy(path, Game.ScenarioFilename, _MAX_PATH);
SetCaptionToFilename(Game.ScenarioFilename);
if (!Game.ScenarioFile.Open(Game.ScenarioFilename))
{