1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 07:20:02 +00:00

Put camera modes compatibility under COMPATIBLE_SAVES

This commit is contained in:
Sergeanur 2020-05-03 00:15:28 +03:00
parent 7fc33d85f7
commit 6a40c03442

View file

@ -164,7 +164,7 @@ GenericSave(int file)
WriteDataToBufferPointer(buf, CompileDateAndTime.m_nMonth); WriteDataToBufferPointer(buf, CompileDateAndTime.m_nMonth);
WriteDataToBufferPointer(buf, CompileDateAndTime.m_nYear); WriteDataToBufferPointer(buf, CompileDateAndTime.m_nYear);
WriteDataToBufferPointer(buf, CWeather::WeatherTypeInList); WriteDataToBufferPointer(buf, CWeather::WeatherTypeInList);
#ifdef FIX_BUGS #ifdef COMPATIBLE_SAVES
// converted to float for compatibility with original format // converted to float for compatibility with original format
// TODO: maybe remove this? not really gonna break anything vital // TODO: maybe remove this? not really gonna break anything vital
float f = TheCamera.CarZoomIndicator; float f = TheCamera.CarZoomIndicator;
@ -283,7 +283,7 @@ GenericLoad()
ReadDataFromBufferPointer(buf, CompileDateAndTime.m_nMonth); ReadDataFromBufferPointer(buf, CompileDateAndTime.m_nMonth);
ReadDataFromBufferPointer(buf, CompileDateAndTime.m_nYear); ReadDataFromBufferPointer(buf, CompileDateAndTime.m_nYear);
ReadDataFromBufferPointer(buf, CWeather::WeatherTypeInList); ReadDataFromBufferPointer(buf, CWeather::WeatherTypeInList);
#ifdef FIX_BUGS #ifdef COMPATIBLE_SAVES
// converted to float for compatibility with original format // converted to float for compatibility with original format
// TODO: maybe remove this? not really gonna break anything vital // TODO: maybe remove this? not really gonna break anything vital
float f; float f;