summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index f7576a01d..3a7e77cd0 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -856,7 +856,7 @@ void LocalPlayer::attack(Being *const target,
mActionTime = tick_time;
if (target->getType() != ActorType::Player
- || checAttackPermissions(target))
+ || checkAttackPermissions(target))
{
setAction(BeingAction::ATTACK, 0);
@@ -2837,7 +2837,7 @@ void LocalPlayer::stopAdvert()
mBlockAdvert = true;
}
-bool LocalPlayer::checAttackPermissions(const Being *const target)
+bool LocalPlayer::checkAttackPermissions(const Being *const target)
{
if (target == nullptr)
return false;