summaryrefslogtreecommitdiffstats
path: root/src/game-server/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/being.cpp')
-rw-r--r--src/game-server/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/being.cpp b/src/game-server/being.cpp
index 2f4e677..7ae01a0 100644
--- a/src/game-server/being.cpp
+++ b/src/game-server/being.cpp
@@ -440,7 +440,7 @@ void Being::setAction(BeingAction action)
{
// Stops the auto-attacks when changing action
if (mAction == ATTACK && action != ATTACK)
- mAutoAttacks.stop();
+ mAttacks.stop();
mAction = action;
if (action != ATTACK && // The players are informed about these actions