X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftimer.cpp;h=f316fa57713ba47abf73699a20ce2492db094299;hb=9c511ea692d3a2339597211f08f18ea74fad35ec;hp=5b22c139392d91b73aa14542c1532bded2c51cf8;hpb=a5123e6e7071da6d73a1ef0b19bf4acb19981605;p=supertux.git diff --git a/src/timer.cpp b/src/timer.cpp index 5b22c1393..f316fa577 100644 --- a/src/timer.cpp +++ b/src/timer.cpp @@ -19,6 +19,7 @@ // 02111-1307, USA. #include "SDL.h" + #include "defines.h" #include "timer.h" @@ -53,6 +54,14 @@ return; st_pause_count = 0; } +bool st_pause_ticks_started(void) +{ +if(st_pause_count == 0) +return false; +else +return true; +} + Timer::Timer() { init(true);