summaryrefslogtreecommitdiffstats
path: root/src/save/PCSave.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-26 23:25:12 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-26 23:25:12 +0200
commitec1d14971c9bb1d751c0256093483d621dd719b8 (patch)
treeee3196f8abd70e1b01df0cb38b0ebe1888f98cd0 /src/save/PCSave.cpp
parentupdated librw (diff)
downloadre3-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.cpp5
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;