This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
base: add some minor randomness to the main Ticker.
legacy
Sam Hocevar
sam
11 years ago
parent
41b43bb47f
commit
e086100292
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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)
{
Write
Preview
Loading…
Cancel
Save