diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-01-29 23:42:48 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-01-29 23:42:48 +0100 |
commit | 9274355bfdbdbc32deab5505fb65ef22a3048757 (patch) | |
tree | c9385a32e2ed7b80a5f07156749f3681bb25e8ed /timer.cpp | |
parent | 6709cdbcf91561e70c9cb504663bb4b5f95f1ed3 (diff) |
Fix Clock::stop().
Diffstat (limited to 'timer.cpp')
-rw-r--r-- | timer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -16,6 +16,7 @@ void Clock::start() { } void Clock::stop() { + if(!running) return; running = false; base += clock.GetElapsedTime(); } |