mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
[Fix] Update trader add/remove packets to limits for RoF2 (#4595)
* Update trader add/remove to limit for RoF2 Update trader add/remove to limit for RoF2 * Update for feedback --------- Co-authored-by: Mitch Freeman <neckkola@gmail.com>
This commit is contained in:
@@ -3225,6 +3225,8 @@ void Client::SendBulkBazaarTraders()
|
||||
EQ::constants::StaticLookup(ClientVersion())->BazaarTraderLimit
|
||||
);
|
||||
|
||||
SetTraderCount(results.count);
|
||||
|
||||
auto p_size = 4 + 12 * results.count + results.name_length;
|
||||
auto buffer = std::make_unique<char[]>(p_size);
|
||||
memset(buffer.get(), 0, p_size);
|
||||
|
||||
Reference in New Issue
Block a user