summaryrefslogtreecommitdiff
path: root/src/net/eathena/npcrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/npcrecv.cpp')
-rw-r--r--src/net/eathena/npcrecv.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/eathena/npcrecv.cpp b/src/net/eathena/npcrecv.cpp
index ec791f498..f926aff1a 100644
--- a/src/net/eathena/npcrecv.cpp
+++ b/src/net/eathena/npcrecv.cpp
@@ -100,6 +100,8 @@ void NpcRecv::processNpcCloseTimeout(Net::MessageIn &msg)
void NpcRecv::processArea(Net::MessageIn &msg)
{
+ if (actorManager == nullptr)
+ return;
const int len = msg.readInt16("len");
if (len < 12)
return;