From a8e99a35e8368b694bf525db81a0d1646cc68575 Mon Sep 17 00:00:00 2001 From: trickerer Date: Sun, 3 Mar 2024 11:32:58 +0700 Subject: [PATCH] NPCBots: Fix a warning --- src/server/game/Conditions/ConditionMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Conditions/ConditionMgr.cpp b/src/server/game/Conditions/ConditionMgr.cpp index 72f74a853c0e4..8be05d79f530e 100644 --- a/src/server/game/Conditions/ConditionMgr.cpp +++ b/src/server/game/Conditions/ConditionMgr.cpp @@ -234,7 +234,7 @@ bool Condition::Meets(ConditionSourceInfo& sourceInfo) const { //npcbot if (object->IsNPCBot()) - condMeets = object->ToCreature()->GetGender() == ConditionValue1; + condMeets = object->ToCreature()->GetGender() == Gender(ConditionValue1); else //end npcbot if (Player* player = object->ToPlayer())