mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Core/Pools: Reverted PoolMgr part of revision 4c50fada8a (fixes compile) and fixed the compile warning that was supposed to be fixed there
--HG-- branch : trunk
This commit is contained in:
@@ -845,7 +845,7 @@ void PoolMgr::LoadQuestPools()
|
||||
QUEST_WEEKLY = 2
|
||||
};
|
||||
|
||||
std::map<uint32, eQuestTypes> poolTypeMap;
|
||||
std::map<uint32, int32> poolTypeMap;
|
||||
|
||||
do
|
||||
{
|
||||
@@ -877,7 +877,7 @@ void PoolMgr::LoadQuestPools()
|
||||
if (poolTypeMap[pool_id] == QUEST_NONE)
|
||||
poolTypeMap[pool_id] = pQuest->IsDaily() ? QUEST_DAILY : QUEST_WEEKLY;
|
||||
|
||||
eQuestTypes currType = pQuest->IsDaily() ? QUEST_DAILY : QUEST_WEEKLY;
|
||||
int32 currType = pQuest->IsDaily() ? QUEST_DAILY : QUEST_WEEKLY;
|
||||
|
||||
if (poolTypeMap[pool_id] != currType)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user