mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Quests: Fixed quest objectives order, thanks @cocolino for pointing it out
Closes #18061
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user