summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/beinghandler.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index 9a2827ee5..a4ab0f48b 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -600,7 +600,11 @@ void BeingHandler::processPlayerMoveUpdate(Net::MessageIn &msg, int msgType)
break;
case 1:
- dstBeing->setAction(Being::DEAD);
+ if (dstBeing->getCurrentAction() != Being::DEAD)
+ {
+ dstBeing->setAction(Being::DEAD);
+ dstBeing->recalcSpritesOrder();
+ }
break;
case 2: