diff --git a/playerbot/strategy/actions/CheckValuesAction.cpp b/playerbot/strategy/actions/CheckValuesAction.cpp index bf1f81a69..9a0b434d4 100644 --- a/playerbot/strategy/actions/CheckValuesAction.cpp +++ b/playerbot/strategy/actions/CheckValuesAction.cpp @@ -47,7 +47,7 @@ bool CheckValuesAction::Execute(Event& event) uint32 replistId = faction.first; #ifdef MANGOSBOT_ZERO - const FactionEntry* thisFactionEntry = sFactionStore.LookupEntry(id); + const FactionEntry* thisFactionEntry = sFactionStore.LookupEntry(factionId); #else const FactionEntry* thisFactionEntry = sFactionStore.LookupEntry(factionId); #endif