aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/AISystem.h
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-12-10 08:53:03 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-12-10 08:53:03 +0100
commit4e7ddc9d8eb396f7160e09da8c9b3d797274600a (patch)
treed132f6a2a38fd3cb9dd206ce8cc3223cb57e1f13 /src/crepe/system/AISystem.h
parentc8d05f759bb1be0ec99e8f23eaa65c80c36ce03d (diff)
Replaced copy by reference
Diffstat (limited to 'src/crepe/system/AISystem.h')
-rw-r--r--src/crepe/system/AISystem.h2
1 files changed, 1 insertions, 1 deletions
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