Core/Quests: Fixed quest objectives order, thanks @cocolino for pointing it out

Closes #18061
This commit is contained in:
Shauren
2016-10-13 22:47:46 +02:00
parent b4c4781723
commit 26de86177e

View File

@@ -3893,9 +3893,9 @@ void ObjectMgr::LoadQuests()
} while (result->NextRow());
}
// Load `quest_objectives` order by descending storage index to reduce resizes
// Load `quest_objectives`
// 0 1 2 3 4 5 6 7 8
result = WorldDatabase.Query("SELECT ID, QuestID, Type, StorageIndex, ObjectID, Amount, Flags, ProgressBarWeight, Description FROM quest_objectives ORDER BY StorageIndex DESC");
result = WorldDatabase.Query("SELECT ID, QuestID, Type, StorageIndex, ObjectID, Amount, Flags, ProgressBarWeight, Description FROM quest_objectives ORDER BY StorageIndex ASC");
if (!result)
{