projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- improved icecrusher graphics
[supertux.git]
/
src
/
timer.cpp
diff --git
a/src/timer.cpp
b/src/timer.cpp
index
105ce75
..
9c94f58
100644
(file)
--- a/
src/timer.cpp
+++ b/
src/timer.cpp
@@
-47,7
+47,7
@@
Timer::check()
{
if(period == 0)
return false;
-
+
if(game_time - cycle_start >= period) {
if(cyclic) {
cycle_start = game_time - fmodf(game_time - cycle_start, period);
@@
-59,4
+59,3
@@
Timer::check()
return false;
}
-