fix(Core/PacketIO): Implemented CMSG_BUSY_TRADE and CMSG_IGNORE_TRADE. (#21385)
This commit is contained in:
parent
91cd42ef91
commit
017cfb7b4b
5 changed files with 10 additions and 18 deletions
|
|
@ -1165,7 +1165,7 @@ bool Player::UpdatePosition(float x, float y, float z, float orientation,
|
|||
SetGroupUpdateFlag(GROUP_UPDATE_FLAG_POSITION);
|
||||
|
||||
if (GetTrader() && !IsWithinDistInMap(GetTrader(), INTERACTION_DISTANCE))
|
||||
GetSession()->SendCancelTrade();
|
||||
GetSession()->SendCancelTrade(TRADE_STATUS_TRADE_CANCELED);
|
||||
|
||||
CheckAreaExploreAndOutdoor();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue