summaryrefslogtreecommitdiffstats
path: root/src/save
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-23 13:59:38 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-23 13:59:38 +0100
commit73f1340afb80f8749cb309b4ac89b9f13f4dff31 (patch)
tree160108811b81819928d41c0b2cb6498ae55374ba /src/save
parentIncludes overhaul, fix some compiler warnings (diff)
downloadre3-73f1340afb80f8749cb309b4ac89b9f13f4dff31.tar
re3-73f1340afb80f8749cb309b4ac89b9f13f4dff31.tar.gz
re3-73f1340afb80f8749cb309b4ac89b9f13f4dff31.tar.bz2
re3-73f1340afb80f8749cb309b4ac89b9f13f4dff31.tar.lz
re3-73f1340afb80f8749cb309b4ac89b9f13f4dff31.tar.xz
re3-73f1340afb80f8749cb309b4ac89b9f13f4dff31.tar.zst
re3-73f1340afb80f8749cb309b4ac89b9f13f4dff31.zip
Diffstat (limited to '')
-rw-r--r--src/save/GenericGameStorage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/save/GenericGameStorage.cpp b/src/save/GenericGameStorage.cpp
index ee946480..54685b66 100644
--- a/src/save/GenericGameStorage.cpp
+++ b/src/save/GenericGameStorage.cpp
@@ -345,7 +345,11 @@ GenericLoad()
#endif
ReadDataFromBufferPointer(buf, CGame::currArea);
ReadDataFromBufferPointer(buf, CVehicle::bAllTaxisHaveNitro);
+#ifdef LOAD_INI_SETTINGS
buf += align4bytes(sizeof(CPad::bInvertLook4Pad));
+#else
+ ReadDataFromBufferPointer(buf, CPad::bInvertLook4Pad);
+#endif
ReadDataFromBufferPointer(buf, CTimeCycle::m_ExtraColour);
ReadDataFromBufferPointer(buf, CTimeCycle::m_bExtraColourOn);
ReadDataFromBufferPointer(buf, CTimeCycle::m_ExtraColourInter);