From a18aa89f55f48b1b9e1a7ecf99a969b4bc445faf Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Thu, 29 Apr 2021 17:59:20 +0200 Subject: [PATCH] =?UTF-8?q?fixed=20build=C2=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/game/Instances/InstanceScript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Instances/InstanceScript.cpp b/src/server/game/Instances/InstanceScript.cpp index 46b4c1a685..68dae4f388 100644 --- a/src/server/game/Instances/InstanceScript.cpp +++ b/src/server/game/Instances/InstanceScript.cpp @@ -753,7 +753,7 @@ void InstanceScript::UpdateEncounterState(EncounterCreditType type, uint32 credi for (LFGDungeonEntry const* dungeonEntry : sLFGDungeonStore) { uint8 difficulty = encounter->dbcEntry->DifficultyID != -1 ? encounter->dbcEntry->DifficultyID : instance->GetDifficulty(); - if (dungeonEntry->MapID != instance->GetId() || dungeonEntry->DifficultyID != difficulty) + if (dungeonEntry->MapID != int32(instance->GetId()) || dungeonEntry->DifficultyID != difficulty) continue; dungeonId = dungeonEntry->ID;