From 84bccd97832136dd8f59640244ca9e66e388ba23 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 May 2015 22:55:02 +0300 Subject: Fix possible crash if disconnecting from server. --- src/net/ea/beinghandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 3f06c668c..51771fb30 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -470,7 +470,7 @@ void BeingHandler::processNameResponse2(Net::MessageIn &msg) void BeingHandler::processBeingMove3(Net::MessageIn &msg) { BLOCK_START("BeingHandler::processBeingMove3") - if (!serverFeatures->haveMove3()) + if (!actorManager || !serverFeatures->haveMove3()) { BLOCK_END("BeingHandler::processBeingMove3") return; -- cgit v1.2.3-70-g09d2