diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-26 23:25:12 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-26 23:25:12 +0200 |
commit | ec1d14971c9bb1d751c0256093483d621dd719b8 (patch) | |
tree | ee3196f8abd70e1b01df0cb38b0ebe1888f98cd0 /src/save/PCSave.cpp | |
parent | updated librw (diff) | |
download | re3-ec1d14971c9bb1d751c0256093483d621dd719b8.tar re3-ec1d14971c9bb1d751c0256093483d621dd719b8.tar.gz re3-ec1d14971c9bb1d751c0256093483d621dd719b8.tar.bz2 re3-ec1d14971c9bb1d751c0256093483d621dd719b8.tar.lz re3-ec1d14971c9bb1d751c0256093483d621dd719b8.tar.xz re3-ec1d14971c9bb1d751c0256093483d621dd719b8.tar.zst re3-ec1d14971c9bb1d751c0256093483d621dd719b8.zip |
Diffstat (limited to 'src/save/PCSave.cpp')
-rw-r--r-- | src/save/PCSave.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/save/PCSave.cpp b/src/save/PCSave.cpp index 3dc80f73..3103c7ab 100644 --- a/src/save/PCSave.cpp +++ b/src/save/PCSave.cpp @@ -41,7 +41,10 @@ C_PcSave::SaveSlot(int32 slot) _psGetUserFilesFolder(); int file = CFileMgr::OpenFile(ValidSaveName, "wb"); if (file != 0) { - DoGameSpecificStuffBeforeSave(); +#ifdef MISSION_REPLAY + if (!IsQuickSave) +#endif + DoGameSpecificStuffBeforeSave(); if (GenericSave(file)) { if (!!CFileMgr::CloseFile(file)) nErrorCode = SAVESTATUS_ERR_SAVE_CLOSE; |