summaryrefslogtreecommitdiffstats
path: root/src/save
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-20 18:32:03 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-20 18:32:03 +0100
commitcc94419a7281fde133a5dc17c46cc62ae061a58c (patch)
tree300a1e3c7d68e1fe32a3ba4491608bf18a1435b2 /src/save
parentfree cam inversion fix (diff)
parentGet rid of bitfields in CPool (diff)
downloadre3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar
re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.gz
re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.bz2
re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.lz
re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.xz
re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.zst
re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.zip
Diffstat (limited to '')
-rw-r--r--src/save/GenericGameStorage.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/save/GenericGameStorage.cpp b/src/save/GenericGameStorage.cpp
index 82f66308..b0cf1d98 100644
--- a/src/save/GenericGameStorage.cpp
+++ b/src/save/GenericGameStorage.cpp
@@ -326,6 +326,11 @@ GenericLoad()
ReadDataFromBufferPointer(buf, CWeather::OldWeatherType);
ReadDataFromBufferPointer(buf, CWeather::NewWeatherType);
ReadDataFromBufferPointer(buf, CWeather::ForcedWeatherType);
+#ifdef SECUROM
+ if (CTimer::m_FrameCounter > 72000){
+ buf += align4bytes(4);
+ }
+#endif
ReadDataFromBufferPointer(buf, CWeather::InterpolationValue);
ReadDataFromBufferPointer(buf, CWeather::WeatherTypeInList);
#ifdef COMPATIBLE_SAVES