Browse Source

base: add some minor randomness to the main Ticker.

legacy
Sam Hocevar sam 11 years ago
parent
commit
e086100292
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/ticker.cpp

+ 3
- 0
src/ticker.cpp View File

@@ -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)
{


Loading…
Cancel
Save