diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-26 22:55:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-26 22:57:34 +0300 |
commit | 84bccd97832136dd8f59640244ca9e66e388ba23 (patch) | |
tree | 982d57085ab3b5a1d15dd28fc9ee4863c6e42633 /src/net/ea/beinghandler.cpp | |
parent | 4ce70c54240db4093e7f0e5eefafb049f6e96a50 (diff) | |
download | manaplus-84bccd97832136dd8f59640244ca9e66e388ba23.tar.gz manaplus-84bccd97832136dd8f59640244ca9e66e388ba23.tar.bz2 manaplus-84bccd97832136dd8f59640244ca9e66e388ba23.tar.xz manaplus-84bccd97832136dd8f59640244ca9e66e388ba23.zip |
Fix possible crash if disconnecting from server.
Diffstat (limited to 'src/net/ea/beinghandler.cpp')
-rw-r--r-- | src/net/ea/beinghandler.cpp | 2 |
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; |