diff options
author | Ira Rice <irarice@gmail.com> | 2008-11-09 06:45:42 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-11-09 06:45:42 +0000 |
commit | eceb7c70ac01166c32de7d1e88ef8e840ccdce7d (patch) | |
tree | 68f0800062fe910d6cb5229a5e1d97b975fdd349 /src/net | |
parent | b51c608c07a48a2c6d4fb6332a4ba436510e3273 (diff) | |
download | mana-eceb7c70ac01166c32de7d1e88ef8e840ccdce7d.tar.gz mana-eceb7c70ac01166c32de7d1e88ef8e840ccdce7d.tar.bz2 mana-eceb7c70ac01166c32de7d1e88ef8e840ccdce7d.tar.xz mana-eceb7c70ac01166c32de7d1e88ef8e840ccdce7d.zip |
Fixed NPC's reporting as dead on the new server.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/beinghandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index 951cb570..b9686e39 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -453,7 +453,8 @@ void BeingHandler::handleMessage(MessageIn *msg) switch (msg->readInt8()) { case 1: - dstBeing->setAction(Being::DEAD); + if (dstBeing->getType() != Being::NPC) + dstBeing->setAction(Being::DEAD); break; case 2: |