mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-23 19:02:25 +00:00
[Fix] Update the shard bazaar search feature (#4630)
This commit is contained in:
parent
4a38fd8829
commit
29701d0ea7
@ -312,9 +312,12 @@ Bazaar::GetSearchResults(
|
|||||||
r.item_stat = item_results.at(t.trader.item_id).stats;
|
r.item_stat = item_results.at(t.trader.item_id).stats;
|
||||||
|
|
||||||
if (RuleB(Bazaar, UseAlternateBazaarSearch)) {
|
if (RuleB(Bazaar, UseAlternateBazaarSearch)) {
|
||||||
if (convert || (r.trader_zone_id == Zones::BAZAAR && r.trader_zone_instance_id != char_zone_instance_id)) {
|
if (convert ||
|
||||||
|
char_zone_id != Zones::BAZAAR ||
|
||||||
|
(char_zone_id == Zones::BAZAAR && r.trader_zone_instance_id != char_zone_instance_id)
|
||||||
|
) {
|
||||||
r.trader_id = TraderRepository::TRADER_CONVERT_ID + r.trader_zone_instance_id;
|
r.trader_id = TraderRepository::TRADER_CONVERT_ID + r.trader_zone_instance_id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
all_entries.push_back(r);
|
all_entries.push_back(r);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user