summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 11:34:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 11:34:24 +0300
commit8cf91f6df71db6a2c7ca114cc3a7c6666f63c4d0 (patch)
treec55088930bdf1ff0b7fe1f4d6f9219ca6c55e9c9 /src/actormanager.cpp
parent4eaedf092bc504fae492827b1a89e7bbaac20263 (diff)
downloadplus-8cf91f6df71db6a2c7ca114cc3a7c6666f63c4d0.tar.gz
plus-8cf91f6df71db6a2c7ca114cc3a7c6666f63c4d0.tar.bz2
plus-8cf91f6df71db6a2c7ca114cc3a7c6666f63c4d0.tar.xz
plus-8cf91f6df71db6a2c7ca114cc3a7c6666f63c4d0.zip
Remove getter for playerHandler.
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;
}