Reduced calls to UpdateActorMovement
@@ -377,7 +377,6 @@ void SceneUpdateActors_b()
{
r = rand();
update_dir = directions[r & 3];
- }
if (actors[i].movement_type == AI_RANDOM_FACE)
{
@@ -392,6 +391,11 @@ void SceneUpdateActors_b()
SceneUpdateActorMovement_b(i, update_dir);
}
}
+ else
+ {
+ actors[i].moving = FALSE;
+ }
+ }
}
}
