Always apply queued movement, even when there's no duration. Fixes crash with --start="bal isra".

When a script disables a reference that still has movement queued, trying to apply that movement will then fail due to the reference not being in the scene. Therefore, we should make sure that movement is always applied in the frame that it's queued in.
actorid
scrawl 11 years ago
parent ffc885853a
commit ce2d521b8f

@ -1127,10 +1127,6 @@ namespace MWWorld
void World::doPhysics(float duration)
{
/* No duration? Shouldn't be any movement, then. */
if(duration <= 0.0f)
return;
processDoors(duration);
moveProjectiles(duration);

Loading…
Cancel
Save