summaryrefslogtreecommitdiffstats
path: root/src/save
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-23 16:54:46 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-23 16:54:46 +0100
commite9689a0a079bd1d7e5028aa89fd5aeaa5e28ecdf (patch)
tree0e96dcb221d57e79ffffaeda7b23c530dcd4f8d6 /src/save
parentMerge remote-tracking branch 'origin/lcs' into lcs (diff)
parentMerge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff)
downloadre3-e9689a0a079bd1d7e5028aa89fd5aeaa5e28ecdf.tar
re3-e9689a0a079bd1d7e5028aa89fd5aeaa5e28ecdf.tar.gz
re3-e9689a0a079bd1d7e5028aa89fd5aeaa5e28ecdf.tar.bz2
re3-e9689a0a079bd1d7e5028aa89fd5aeaa5e28ecdf.tar.lz
re3-e9689a0a079bd1d7e5028aa89fd5aeaa5e28ecdf.tar.xz
re3-e9689a0a079bd1d7e5028aa89fd5aeaa5e28ecdf.tar.zst
re3-e9689a0a079bd1d7e5028aa89fd5aeaa5e28ecdf.zip
Diffstat (limited to 'src/save')
-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 8377c60b..e0a989de 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);