summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-23 12:59:52 +0100
committeraap <aap@papnet.eu>2021-01-23 12:59:52 +0100
commitf6fb473cf97b5175263c1b1cc63bc512dc567ac7 (patch)
tree9c7944df8e97e5b8228a683ea8f2739bb73dfb7f
parentwrong path node array (diff)
downloadre3-f6fb473cf97b5175263c1b1cc63bc512dc567ac7.tar
re3-f6fb473cf97b5175263c1b1cc63bc512dc567ac7.tar.gz
re3-f6fb473cf97b5175263c1b1cc63bc512dc567ac7.tar.bz2
re3-f6fb473cf97b5175263c1b1cc63bc512dc567ac7.tar.lz
re3-f6fb473cf97b5175263c1b1cc63bc512dc567ac7.tar.xz
re3-f6fb473cf97b5175263c1b1cc63bc512dc567ac7.tar.zst
re3-f6fb473cf97b5175263c1b1cc63bc512dc567ac7.zip
-rw-r--r--src/save/GenericGameStorage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/save/GenericGameStorage.cpp b/src/save/GenericGameStorage.cpp
index ee946480..d177aa17 100644
--- a/src/save/GenericGameStorage.cpp
+++ b/src/save/GenericGameStorage.cpp
@@ -345,7 +345,7 @@ GenericLoad()
#endif
ReadDataFromBufferPointer(buf, CGame::currArea);
ReadDataFromBufferPointer(buf, CVehicle::bAllTaxisHaveNitro);
- buf += align4bytes(sizeof(CPad::bInvertLook4Pad));
+ ReadDataFromBufferPointer(buf, CPad::bInvertLook4Pad);
ReadDataFromBufferPointer(buf, CTimeCycle::m_ExtraColour);
ReadDataFromBufferPointer(buf, CTimeCycle::m_bExtraColourOn);
ReadDataFromBufferPointer(buf, CTimeCycle::m_ExtraColourInter);