summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index a42e466bc..2b91a30df 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -1180,7 +1180,7 @@ void ActorManager::healTarget() const
void ActorManager::heal(const Being *const target) const
{
if (!localPlayer || !chatWindow || !localPlayer->isAlive()
- || !Net::getPlayerHandler()->canUseMagic())
+ || !playerHandler->canUseMagic())
{
return;
}
@@ -1259,7 +1259,7 @@ void ActorManager::heal(const Being *const target) const
void ActorManager::itenplz() const
{
if (!localPlayer || !chatWindow || !localPlayer->isAlive()
- || !Net::getPlayerHandler()->canUseMagic())
+ || !playerHandler->canUseMagic())
{
return;
}