summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-12 03:13:01 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-12 03:13:01 +0300
commit0e1d656e85e1bbc80e9e8adcfb2c07a8bc0d4bb8 (patch)
tree5b537fe44b0753ced7c6f9fd1aa916604c178f2f /src/net/ea
parent8be2905d29db5013bf8a2d9c5c7c7155af77ed49 (diff)
downloadmanaverse-0e1d656e85e1bbc80e9e8adcfb2c07a8bc0d4bb8.tar.gz
manaverse-0e1d656e85e1bbc80e9e8adcfb2c07a8bc0d4bb8.tar.bz2
manaverse-0e1d656e85e1bbc80e9e8adcfb2c07a8bc0d4bb8.tar.xz
manaverse-0e1d656e85e1bbc80e9e8adcfb2c07a8bc0d4bb8.zip
Fix code style. Add missing actorManager null checks.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/beingrecv.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/ea/beingrecv.cpp b/src/net/ea/beingrecv.cpp
index 637fccd8b..3b09502f4 100644
--- a/src/net/ea/beingrecv.cpp
+++ b/src/net/ea/beingrecv.cpp
@@ -381,6 +381,8 @@ void BeingRecv::processPlayerMoveToAttack(Net::MessageIn &msg)
void BeingRecv::processSkillNoDamage(Net::MessageIn &msg)
{
+ if (actorManager == nullptr)
+ return;
const int id = msg.readInt16("skill id");
int heal;
if (msg.getVersion() >= 20131223)