Skip to content

Commit

Permalink
-Internal: Tbc build fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlikely4r committed Sep 10, 2024
1 parent 9706409 commit 89f5610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playerbot/GuidPosition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const ReputationRank GuidPosition::GetReactionTo(const GuidPosition& other, uint
const FactionEntry* unitFactionEntry = sFactionStore.LookupEntry(GetFactionTemplateEntry()->faction);
return unitPlayer->GetReputationMgr().IsAtWar(unitFactionEntry) ? REP_HOSTILE : REP_FRIENDLY;
#else
if (!other.GetUnit()->HasFlag(UNIT_FIELD_FLAGS_2, UNIT_FLAG2_IGNORE_REPUTATION))
if (!other.GetUnit(instanceId)->HasFlag(UNIT_FIELD_FLAGS_2, UNIT_FLAG2_IGNORE_REPUTATION))
{
#ifdef MANGOSBOT_TWO
const FactionEntry* thisFactionEntry = sFactionStore.LookupEntry(GetFactionTemplateEntry()->faction);
Expand Down

0 comments on commit 89f5610

Please sign in to comment.