aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server/game/Handlers/AdventureMapHandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Handlers/AdventureMapHandler.cpp b/src/server/game/Handlers/AdventureMapHandler.cpp
index e75425be870..d25651e8ce0 100644
--- a/src/server/game/Handlers/AdventureMapHandler.cpp
+++ b/src/server/game/Handlers/AdventureMapHandler.cpp
@@ -18,6 +18,7 @@
#include "WorldSession.h"
#include "AdventureMapPackets.h"
#include "DB2Stores.h"
+#include "ObjectMgr.h"
#include "Player.h"
void WorldSession::HandleAdventureMapStartQuest(WorldPackets::AdventureMap::AdventureMapStartQuest& startQuest)
@@ -28,7 +29,7 @@ void WorldSession::HandleAdventureMapStartQuest(WorldPackets::AdventureMap::Adve
auto itr = std::find_if(sAdventureMapPOIStore.begin(), sAdventureMapPOIStore.end(), [&](AdventureMapPOIEntry const* adventureMap)
{
- return adventureMap->QuestID == startQuest.QuestID && _player->MeetPlayerCondition(adventureMap->PlayerConditionID);
+ return adventureMap->QuestID == uint32(startQuest.QuestID) && _player->MeetPlayerCondition(adventureMap->PlayerConditionID);
});
if (itr == sAdventureMapPOIStore.end())