From e086100292cf4b4beeab31306fac3564a9c078d7 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 17 Feb 2013 15:46:32 +0000 Subject: [PATCH] base: add some minor randomness to the main Ticker. --- src/ticker.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ticker.cpp b/src/ticker.cpp index 6e0a9275..e6dfc4b1 100644 --- a/src/ticker.cpp +++ b/src/ticker.cpp @@ -184,6 +184,9 @@ void *TickerData::GameThreadMain(void * /* p */) data->frame++; + /* Ensure some randomness */ + (void)rand(); + /* If recording with fixed framerate, set deltatime to a fixed value */ if (data->recording && data->fps) {