[Fix] Bazaar Search not working correctly for Iksar, Vashir, Drakkin and Froglok races (#4379)

This commit is contained in:
Mitch Freeman 2024-06-01 21:17:18 -03:00 committed by GitHub
parent d5a06bfe2e
commit 59e4adb117
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -314,7 +314,7 @@ Bazaar::GetSearchResults(
},
{
.should_check = search.race != 0xFFFFFFFF,
.condition = static_cast<bool>(item->Races & GetPlayerRaceBit(search.race))
.condition = static_cast<bool>(item->Races & GetPlayerRaceBit(GetRaceIDFromPlayerRaceValue(search.race)))
},
{
.should_check = search.augment != 0,