diff options
Diffstat (limited to 'src/net/eathena/petrecv.cpp')
-rw-r--r-- | src/net/eathena/petrecv.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/eathena/petrecv.cpp b/src/net/eathena/petrecv.cpp index 5fb07165c..6516186f1 100644 --- a/src/net/eathena/petrecv.cpp +++ b/src/net/eathena/petrecv.cpp @@ -99,6 +99,8 @@ void PetRecv::processEggsList(Net::MessageIn &msg) void PetRecv::processPetData(Net::MessageIn &msg) { + if (actorManager == nullptr) + return; const int cmd = msg.readUInt8("type"); const BeingId id = msg.readBeingId("pet id"); Being *const dstBeing = actorManager->findBeing(id); |