aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a24161b..44cedcf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -313,7 +313,7 @@ int main(int argc, char** argv)
}
/* help keeping track of time */
- unsigned int last_time;
+ unsigned int last_time = SDL_GetTicks();
unsigned int current_time;
/* keep file change polling rate under control */