Moved random code out of defines.*

This commit is contained in:
Kayne Ruse
2013-06-21 21:36:48 +10:00
parent 89179626be
commit a4d184ca75
11 changed files with 96 additions and 13 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ void SplashScreen::RunFrame(double delta) {
LoadResources();
}
if (Clock::now() - start > std::chrono::duration<int>(1)) {
if (std::chrono::steady_clock::now() - start > std::chrono::duration<int>(1)) {
SetNextScene(SceneList::MAINMENU);
}
}