mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
[7928] Player must standup at stun (from 1.5 client starting) Author: DonTomika
--HG-- branch : trunk
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user