diff options
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 11333af42..324f3af54 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -1383,6 +1383,9 @@ void LocalPlayer::attack(Being *target, bool keep, bool dontChangeEquipment) void LocalPlayer::stopAttack() { + if (!Client::limitPackets(PACKET_STOPATTACK)) + return; + if (mServerAttack && mAction == ATTACK) Net::getPlayerHandler()->stopAttack(); |