- for (Uint32 i(0); i < deltaT; ++i) {
- CurrentState()->PhysicsTimers().Update(0.001f);
- CurrentState()->UpdateWorld(0.001f);
+ for (Uint32 i(0); i < deltaT && !StateChangePending(); ++i) {
+ CurrentState()->PhysicsTimers().Update(1);
+ CurrentState()->UpdateWorld(1);