projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improved frozen behavior.
[supertux.git]
/
src
/
timer.cpp
diff --git
a/src/timer.cpp
b/src/timer.cpp
index
a8f2d75
..
1fd716d
100644
(file)
--- a/
src/timer.cpp
+++ b/
src/timer.cpp
@@
-53,6
+53,19
@@
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);
+}
+
void
Timer::init(bool st_ticks)
{