diff options
Diffstat (limited to '')
-rw-r--r-- | src/Clock.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Clock.h b/src/Clock.h index 0b6ba304..e11b2293 100644 --- a/src/Clock.h +++ b/src/Clock.h @@ -21,7 +21,11 @@ public: static void StoreClock(void); static void RestoreClock(void); - static int8 GetHours(void) { return ms_nGameClockHours; } - static int8 GetMinutes(void) { return ms_nGameClockMinutes; } + static uint8 GetHours(void) { return ms_nGameClockHours; } + static uint8 GetMinutes(void) { return ms_nGameClockMinutes; } static int16 GetSeconds(void) { return ms_nGameClockSeconds; } + + + static uint8 &GetHoursRef(void) { return ms_nGameClockHours; } + static uint8 &GetMinutesRef(void) { return ms_nGameClockMinutes; } }; |