summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/beinghandler.cpp3
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: