mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
Unify changing movement style for Units
This commit is contained in:
parent
b81725c43c
commit
56674de682
7 changed files with 698 additions and 785 deletions
|
|
@ -4998,9 +4998,9 @@ bool ChatHandler::HandleWaterwalkCommand(char* args)
|
|||
return false;
|
||||
|
||||
if (value)
|
||||
player->SetMovement(MOVE_WATER_WALK); // ON
|
||||
player->SetWaterWalk(true); // ON
|
||||
else
|
||||
player->SetMovement(MOVE_LAND_WALK); // OFF
|
||||
player->SetWaterWalk(false); // OFF
|
||||
|
||||
PSendSysMessage(LANG_YOU_SET_WATERWALK, args, GetNameLink(player).c_str());
|
||||
if (needReportToTarget(player))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue