diff options
author | aap <aap@papnet.eu> | 2020-05-28 10:25:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-28 10:25:14 +0200 |
commit | 9bcec542911c461d60dd80772b97f30399f3c818 (patch) | |
tree | eb2d5037c4ec34298b06f99f36f1a29f01aec77c /src/save/PCSave.cpp | |
parent | crash fix (diff) | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-9bcec542911c461d60dd80772b97f30399f3c818.tar re3-9bcec542911c461d60dd80772b97f30399f3c818.tar.gz re3-9bcec542911c461d60dd80772b97f30399f3c818.tar.bz2 re3-9bcec542911c461d60dd80772b97f30399f3c818.tar.lz re3-9bcec542911c461d60dd80772b97f30399f3c818.tar.xz re3-9bcec542911c461d60dd80772b97f30399f3c818.tar.zst re3-9bcec542911c461d60dd80772b97f30399f3c818.zip |
Diffstat (limited to '')
-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; |