mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +00:00
[11721] Simplify walk/run movement mode selection code
This commit is contained in:
parent
9d566398ad
commit
fc0eb7e9fa
10 changed files with 10 additions and 54 deletions
|
|
@ -2487,7 +2487,6 @@ void Creature::SetWalk(bool enable)
|
|||
WorldPacket data(enable ? SMSG_SPLINE_MOVE_SET_WALK_MODE : SMSG_SPLINE_MOVE_SET_RUN_MODE, 9);
|
||||
data << GetPackGUID();
|
||||
SendMessageToSet(&data, true);
|
||||
UpdateWalkMode(this, false);
|
||||
}
|
||||
|
||||
void Creature::SetLevitate(bool enable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue