DrawStandardMenus, VC menu array and minor fixes

This commit is contained in:
eray orçunus 2020-06-01 17:52:40 +03:00
parent 6d3e54369c
commit d930a25d94
11 changed files with 1227 additions and 1338 deletions

View file

@ -33,7 +33,7 @@ C_PcSave::DeleteSlot(int32 slot)
return true;
}
bool
int8
C_PcSave::SaveSlot(int32 slot)
{
MakeValidSaveName(slot);
@ -45,10 +45,10 @@ C_PcSave::SaveSlot(int32 slot)
if (GenericSave(file)) {
if (!!CFileMgr::CloseFile(file))
nErrorCode = SAVESTATUS_ERR_SAVE_CLOSE;
return true;
return 0;
}
return false;
return 2;
}
PcSaveHelper.nErrorCode = SAVESTATUS_ERR_SAVE_CREATE;
return false;