aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 884820041b3..342e48d24ff 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -1448,6 +1448,11 @@ void Player::setDeathState(DeathState s)
GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_DEATH_AT_MAP, 1);
GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_DEATH, 1);
GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_DEATH_IN_DUNGEON, 1);
+
+ // For some reason movement packet is always to be issued on death
+ // send if not going to fall down
+ if (!IsFlying() || GetTransport())
+ SendMonsterMove(GetPositionX(), GetPositionY(), GetPositionZ(), 0);
}
Unit::setDeathState(s);