*remove UNIT_FLAG2_FORCE_MOVE when loading players. This fix the bug that players cannot stop moving forward. By Bulkin.
--HG-- branch : trunk
This commit is contained in:
@@ -14565,6 +14565,8 @@ bool Player::LoadFromDB( uint32 guid, SqlQueryHolder *holder )
|
|||||||
SetUInt64Value(PLAYER_FARSIGHT, 0);
|
SetUInt64Value(PLAYER_FARSIGHT, 0);
|
||||||
SetCreatorGUID(0);
|
SetCreatorGUID(0);
|
||||||
|
|
||||||
|
RemoveFlag(UNIT_FIELD_FLAGS_2, UNIT_FLAG2_FORCE_MOVE);
|
||||||
|
|
||||||
// reset some aura modifiers before aura apply
|
// reset some aura modifiers before aura apply
|
||||||
SetUInt32Value(PLAYER_TRACK_CREATURES, 0 );
|
SetUInt32Value(PLAYER_TRACK_CREATURES, 0 );
|
||||||
SetUInt32Value(PLAYER_TRACK_RESOURCES, 0 );
|
SetUInt32Value(PLAYER_TRACK_RESOURCES, 0 );
|
||||||
|
|||||||
Reference in New Issue
Block a user