aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-31 16:28:25 -0500
committermegamage <none@none>2009-05-31 16:28:25 -0500
commit0d95e70e7b0e3be037b3faa4fc2e51ee70a455bb (patch)
tree5b3c82d1672c359cf4e738f1670b9d8bb7e22bc8 /src
parent439187b86b256ae8a8de86b3ec8c1b1ef0943287 (diff)
[7928] Player must standup at stun (from 1.5 client starting) Author: DonTomika
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 57181aa3f77..cff6e0ac853 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -13378,7 +13378,8 @@ void Unit::SetStunned(bool apply)
// Creature specific
if(GetTypeId() != TYPEID_PLAYER)
((Creature*)this)->StopMoving();
- //else
+ else
+ SetStandState(UNIT_STAND_STATE_STAND);
// SetUnitMovementFlags(0); //Clear movement flags
WorldPacket data(SMSG_FORCE_MOVE_ROOT, 8);