summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/beingrecv.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index 915be5cbd..1fc49deaf 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -1074,7 +1074,8 @@ void BeingRecv::processSkillCastingContinue(Net::MessageIn &msg,
castTime / MILLISECONDS_IN_A_TICK);
}
}
- if (srcBeing == localPlayer &&
+ if (localPlayer &&
+ srcBeing == localPlayer &&
(inf2 & SkillType2::FreeCastAny) == 0)
{
localPlayer->freezeMoving(castTime / MILLISECONDS_IN_A_TICK);