summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-26 22:55:02 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-26 22:57:34 +0300
commit84bccd97832136dd8f59640244ca9e66e388ba23 (patch)
tree982d57085ab3b5a1d15dd28fc9ee4863c6e42633 /src/net
parent4ce70c54240db4093e7f0e5eefafb049f6e96a50 (diff)
downloadmanaverse-84bccd97832136dd8f59640244ca9e66e388ba23.tar.gz
manaverse-84bccd97832136dd8f59640244ca9e66e388ba23.tar.bz2
manaverse-84bccd97832136dd8f59640244ca9e66e388ba23.tar.xz
manaverse-84bccd97832136dd8f59640244ca9e66e388ba23.zip
Fix possible crash if disconnecting from server.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/beinghandler.cpp2
1 files changed, 1 insertions, 1 deletions
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;