]> git.localhorst.tv Git - l2e.git/blobdiff - src/app/Application.cpp
removed lazy fwd headers
[l2e.git] / src / app / Application.cpp
index 90ed2882e2e75b013f1246aae873c29897a2bf81..64a8602e8d9b1c551bd2940224c3a1ab72746292 100644 (file)
@@ -1,13 +1,7 @@
-/*
- * Application.cpp
- *
- *  Created on: Apr 8, 2012
- *      Author: holy
- */
-
 #include "Application.h"
 
 #include "State.h"
+#include "../sdl/InitScreen.h"
 
 #include <cassert>
 
@@ -182,8 +176,8 @@ void Application::HandleEvents() {
 void Application::UpdateWorld(Uint32 deltaT) {
        if (!CurrentState()) return;
        for (Uint32 i(0); i < deltaT && !StateChangePending(); ++i) {
-               CurrentState()->PhysicsTimers().Update(0.001f);
-               CurrentState()->UpdateWorld(0.001f);
+               CurrentState()->PhysicsTimers().Update(1);
+               CurrentState()->UpdateWorld(1);
        }
 }