summaryrefslogtreecommitdiff
path: root/src/net/eathena/battlegroundrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/battlegroundrecv.cpp')
-rw-r--r--src/net/eathena/battlegroundrecv.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/eathena/battlegroundrecv.cpp b/src/net/eathena/battlegroundrecv.cpp
index 5ee99d38d..5ee51251e 100644
--- a/src/net/eathena/battlegroundrecv.cpp
+++ b/src/net/eathena/battlegroundrecv.cpp
@@ -42,6 +42,8 @@ void BattleGroundRecv::processBattleEmblem(Net::MessageIn &msg)
void BattleGroundRecv::processBattleEmblem2(Net::MessageIn &msg)
{
+ if (actorManager == nullptr)
+ return;
const BeingId id = msg.readBeingId("account id");
msg.readString(24, "name");
msg.readInt16("bg id");