diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-20 19:14:12 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-20 19:14:12 +0100 |
commit | 23831e38e632073c9d1fc5ff073b1568c02e33b8 (patch) | |
tree | e2386110918e4424e26d33a8a9c9d0e9ea46fa2c /src/save/GenericGameStorage.cpp | |
parent | Merge branch 'lcs-dev' into lcs (diff) | |
parent | Merge branch 'miami' into lcs (diff) | |
download | re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar.gz re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar.bz2 re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar.lz re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar.xz re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar.zst re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.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 13f15b8a..e24b7f16 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 |