From 4e7ddc9d8eb396f7160e09da8c9b3d797274600a Mon Sep 17 00:00:00 2001 From: max-001 Date: Tue, 10 Dec 2024 08:53:03 +0100 Subject: Replaced copy by reference --- src/crepe/system/AISystem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crepe/system/AISystem.h') diff --git a/src/crepe/system/AISystem.h b/src/crepe/system/AISystem.h index 160df01..9a937d2 100644 --- a/src/crepe/system/AISystem.h +++ b/src/crepe/system/AISystem.h @@ -37,7 +37,7 @@ private: * \param force_to_add The force to add * \return true if the force was added, false otherwise */ - bool accumulate_force(const AI & ai, vec2 & running_total, vec2 force_to_add); + bool accumulate_force(const AI & ai, vec2 & running_total, vec2 & force_to_add); /** * \brief Calculate the seek force -- cgit v1.2.3