X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FApplication.cpp;h=64a8602e8d9b1c551bd2940224c3a1ab72746292;hb=7b3710c47f24e64e0d01378a4564730bcb2f6ef2;hp=0a5f5e73d4d1343c9eb770d16e09951af0c1aea2;hpb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;p=l2e.git diff --git a/src/app/Application.cpp b/src/app/Application.cpp index 0a5f5e7..64a8602 100644 --- a/src/app/Application.cpp +++ b/src/app/Application.cpp @@ -1,6 +1,7 @@ #include "Application.h" #include "State.h" +#include "../sdl/InitScreen.h" #include @@ -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); } }