From abce40f17fd83d63a7dcb4f246f1fee0771c4508 Mon Sep 17 00:00:00 2001 From: David Markowitz Date: Mon, 14 Aug 2023 20:15:25 -0700 Subject: [PATCH] format --- dGame/dComponents/MovementAIComponent.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dGame/dComponents/MovementAIComponent.cpp b/dGame/dComponents/MovementAIComponent.cpp index 587b0ef5..107a3344 100644 --- a/dGame/dComponents/MovementAIComponent.cpp +++ b/dGame/dComponents/MovementAIComponent.cpp @@ -119,8 +119,7 @@ void MovementAIComponent::Update(const float deltaTime) { // If we have no acceleration, then we have no max speed. // If we have no base speed, then we cannot scale the speed by it. // Do we have another waypoint to seek? - if (m_Acceleration > 0 && m_BaseSpeed > 0 && AdvanceWaypointIndex()) - { + if (m_Acceleration > 0 && m_BaseSpeed > 0 && AdvanceWaypointIndex()) { m_NextWaypoint = GetCurrentWaypoint(); if (m_NextWaypoint == source) {