mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
[Bug Fix] Players could become flagged as a Trader when they were not trading (#4553)
This commit is contained in:
+5
-4
@@ -2913,10 +2913,11 @@ void Client::SendBecomeTraderToWorld(Client *trader, BazaarTraderBarterActions a
|
||||
auto outapp = new ServerPacket(ServerOP_TraderMessaging, sizeof(TraderMessaging_Struct));
|
||||
auto data = (TraderMessaging_Struct *) outapp->pBuffer;
|
||||
|
||||
data->action = action;
|
||||
data->entity_id = trader->GetID();
|
||||
data->trader_id = trader->CharacterID();
|
||||
data->zone_id = trader->GetZoneID();
|
||||
data->action = action;
|
||||
data->entity_id = trader->GetID();
|
||||
data->trader_id = trader->CharacterID();
|
||||
data->zone_id = trader->GetZoneID();
|
||||
data->instance_id = trader->GetInstanceID();
|
||||
strn0cpy(data->trader_name, trader->GetName(), sizeof(data->trader_name));
|
||||
|
||||
worldserver.SendPacket(outapp);
|
||||
|
||||
Reference in New Issue
Block a user