diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-18 22:00:12 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-18 22:00:12 +0100 |
commit | 03cf1e7535791bc85426efd9a373309b52c25d7c (patch) | |
tree | 637b5acb01a5d392b861c07e819b2143aaa5dcf5 /src/save/GenericGameStorage.cpp | |
parent | fix (diff) | |
parent | wrong ifdef (diff) | |
download | re3-03cf1e7535791bc85426efd9a373309b52c25d7c.tar re3-03cf1e7535791bc85426efd9a373309b52c25d7c.tar.gz re3-03cf1e7535791bc85426efd9a373309b52c25d7c.tar.bz2 re3-03cf1e7535791bc85426efd9a373309b52c25d7c.tar.lz re3-03cf1e7535791bc85426efd9a373309b52c25d7c.tar.xz re3-03cf1e7535791bc85426efd9a373309b52c25d7c.tar.zst re3-03cf1e7535791bc85426efd9a373309b52c25d7c.zip |
Diffstat (limited to 'src/save/GenericGameStorage.cpp')
-rw-r--r-- | src/save/GenericGameStorage.cpp | 5 |
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 |