]> git.localhorst.tv Git - l2e.git/blobdiff - src/app/Application.cpp
removed lazy fwd headers
[l2e.git] / src / app / Application.cpp
index 0a5f5e73d4d1343c9eb770d16e09951af0c1aea2..64a8602e8d9b1c551bd2940224c3a1ab72746292 100644 (file)
@@ -1,6 +1,7 @@
 #include "Application.h"
 
 #include "State.h"
+#include "../sdl/InitScreen.h"
 
 #include <cassert>
 
@@ -175,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);
        }
 }