diff options
author | withmorten <morten.with@gmail.com> | 2021-01-14 23:16:42 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-01-14 23:16:42 +0100 |
commit | d5ce8b1ea3359ad5518e724e32a76ba32be1586b (patch) | |
tree | b4e48a02501378e10008853e61379449c69c0a1d /src/save | |
parent | incoming "fuck" commit (diff) | |
download | re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.gz re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.bz2 re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.lz re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.xz re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.zst re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.zip |
Diffstat (limited to 'src/save')
-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 |