X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FApplication.cpp;h=64a8602e8d9b1c551bd2940224c3a1ab72746292;hb=b9e715649b41cb69ea1b2d2a588522541eb87b46;hp=90ed2882e2e75b013f1246aae873c29897a2bf81;hpb=5ca18f73987fb3935ab34654cbbecf5eca4704cb;p=l2e.git diff --git a/src/app/Application.cpp b/src/app/Application.cpp index 90ed288..64a8602 100644 --- a/src/app/Application.cpp +++ b/src/app/Application.cpp @@ -1,13 +1,7 @@ -/* - * Application.cpp - * - * Created on: Apr 8, 2012 - * Author: holy - */ - #include "Application.h" #include "State.h" +#include "../sdl/InitScreen.h" #include @@ -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); } }