From 4bb5b05443c36bc6e0a164bc7e324a5486be45ff Mon Sep 17 00:00:00 2001 From: tom Date: Mon, 2 May 2016 18:15:26 -0500 Subject: commiting before refractoring type out of location and into entity --- src/timer.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/timer.cpp') diff --git a/src/timer.cpp b/src/timer.cpp index b59bec8..3a0b55e 100644 --- a/src/timer.cpp +++ b/src/timer.cpp @@ -31,8 +31,7 @@ void Timer::Pause() void Timer::unPause() { - if (paused) - { + if (paused){ paused = false; startTicks = SDL_GetTicks() - pausedTicks; pausedTicks = 0; @@ -41,8 +40,7 @@ void Timer::unPause() int Timer::getTicks() { - if(started) - { + if(started){ if (paused) return pausedTicks; else -- cgit v1.2.3