summaryrefslogtreecommitdiffstats
path: root/src/Timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Timer.h')
-rw-r--r--src/Timer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Timer.h b/src/Timer.h
index b8b5864d..75d4048c 100644
--- a/src/Timer.h
+++ b/src/Timer.h
@@ -29,9 +29,10 @@ public:
static inline void SetPreviousTimeInMilliseconds(uint32 t) { m_snPreviousTimeInMilliseconds = t; }
static float GetTimeScale(void) { return ms_fTimeScale; }
static inline void SetTimeScale(float ts) { ms_fTimeScale = ts; }
-
- static inline bool GetIsPaused() { return m_UserPause || m_CodePause; }
- static inline bool GetIsUserPaused() { return m_UserPause; }
+
+ static bool GetIsPaused() { return m_UserPause || m_CodePause; }
+ static bool GetIsUserPaused() { return m_UserPause; }
+ static void SetCodePause(bool pause) { m_CodePause = pause; }
static void Initialise(void);
static void Shutdown(void);