index
:
wriggle
master
sfml
[no description]
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
timer.cpp
1
1 files changed, 1 insertions, 0 deletions
diff --git a/timer.cpp b/timer.cpp
index 1285d65..b77251b 100644
--- a/
timer.cpp
+++ b/
timer.cpp
@@ -16,6 +16,7 @@ void Clock::start() {
}
void Clock::stop() {
+ if(!running) return;
running = false;
base += clock.GetElapsedTime();
}