[0.7.46.286] Fix warning in MovementGenerator.