diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-30 12:52:48 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-01 12:18:17 +0100 |
commit | 902e539c0d25ec418cd36c735079561f378c712c (patch) | |
tree | 7adb03f0e53c02770bda9cdc0e2133b303c8a998 /src/save | |
parent | waterlevel: use macro for 400.0f (diff) | |
download | re3-902e539c0d25ec418cd36c735079561f378c712c.tar re3-902e539c0d25ec418cd36c735079561f378c712c.tar.gz re3-902e539c0d25ec418cd36c735079561f378c712c.tar.bz2 re3-902e539c0d25ec418cd36c735079561f378c712c.tar.lz re3-902e539c0d25ec418cd36c735079561f378c712c.tar.xz re3-902e539c0d25ec418cd36c735079561f378c712c.tar.zst re3-902e539c0d25ec418cd36c735079561f378c712c.zip |
Diffstat (limited to 'src/save')
-rw-r--r-- | src/save/GenericGameStorage.cpp | 6 | ||||
-rw-r--r-- | src/save/GenericGameStorage.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/save/GenericGameStorage.cpp b/src/save/GenericGameStorage.cpp index 54685b66..a97e9af7 100644 --- a/src/save/GenericGameStorage.cpp +++ b/src/save/GenericGameStorage.cpp @@ -67,16 +67,16 @@ bool StillToFadeOut; uint32 TimeStartedCountingForFade; uint32 TimeToStayFadedBeforeFadeOut = 1750; -uint32 RadioStationPosition[NUM_RADIOS]; +int32 RadioStationPosition[NUM_RADIOS]; void InitRadioStationPositionList() { for (int i = 0; i < NUM_RADIOS; i++) - RadioStationPosition[i] = 0; + RadioStationPosition[i] = -1; } -uint32 +int32 GetSavedRadioStationPosition(int32 station) { return RadioStationPosition[station]; diff --git a/src/save/GenericGameStorage.h b/src/save/GenericGameStorage.h index 07aa23ca..65f1cc16 100644 --- a/src/save/GenericGameStorage.h +++ b/src/save/GenericGameStorage.h @@ -6,7 +6,7 @@ #define SLOT_COUNT (8) void InitRadioStationPositionList(); -uint32 GetSavedRadioStationPosition(int32 station); +int32 GetSavedRadioStationPosition(int32 station); void PopulateRadioStationPositionList(); bool GenericSave(int file); bool GenericLoad(); |