summaryrefslogtreecommitdiff
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
parent2814f2e8cf4491adf4bfccb4371ada95243ce5fa (diff)
revert accident
-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);