summaryrefslogtreecommitdiffstats
path: root/src/save/PCSave.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-05-28 10:40:56 +0200
committereray orçunus <erayorcunus@gmail.com>2020-05-28 10:40:56 +0200
commit98fec63ca7c870d2e8afd0e6649fe9cec7459213 (patch)
tree9f6e694fc0fc1fdefc641f57d39c1ec5598ae449 /src/save/PCSave.cpp
parentFrontend customization functions, freecam toggle, minor things (diff)
parentMerge pull request #599 from Nick007J/master (diff)
downloadre3-98fec63ca7c870d2e8afd0e6649fe9cec7459213.tar
re3-98fec63ca7c870d2e8afd0e6649fe9cec7459213.tar.gz
re3-98fec63ca7c870d2e8afd0e6649fe9cec7459213.tar.bz2
re3-98fec63ca7c870d2e8afd0e6649fe9cec7459213.tar.lz
re3-98fec63ca7c870d2e8afd0e6649fe9cec7459213.tar.xz
re3-98fec63ca7c870d2e8afd0e6649fe9cec7459213.tar.zst
re3-98fec63ca7c870d2e8afd0e6649fe9cec7459213.zip
Diffstat (limited to '')
-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;