summaryrefslogtreecommitdiff
path: root/src/net/eathena/mercenaryrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/mercenaryrecv.cpp')
-rw-r--r--src/net/eathena/mercenaryrecv.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/eathena/mercenaryrecv.cpp b/src/net/eathena/mercenaryrecv.cpp
index 7b1c80545..bd4579c83 100644
--- a/src/net/eathena/mercenaryrecv.cpp
+++ b/src/net/eathena/mercenaryrecv.cpp
@@ -78,6 +78,8 @@ void MercenaryRecv::processMercenaryUpdate(Net::MessageIn &msg)
void MercenaryRecv::processMercenaryInfo(Net::MessageIn &msg)
{
+ if (actorManager == nullptr)
+ return;
// +++ need create if need mercenary being and update stats
Being *const dstBeing = actorManager->findBeing(
msg.readBeingId("being id"));