summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 6c8c49ca6..b857f0f10 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -347,7 +347,7 @@ impHandler0(itenplz)
{
if (actorManager)
{
- if (Net::getPlayerHandler() && Net::getPlayerHandler()->canUseMagic()
+ if (playerHandler && playerHandler->canUseMagic()
&& PlayerInfo::getAttribute(Attributes::MP) >= 3)
{
actorManager->itenplz();