mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 00:02:17 +00:00
Fix issues with TaskGoalListManager::LoadLists
This commit is contained in:
1 parent
c3e007597e
commit
6b64a8183d
1 file changed
+2
-3
+2
-3
@@ -3153,8 +3153,7 @@ bool TaskGoalListManager::LoadLists()
|
||||
continue;
|
||||
}
|
||||
|
||||
int entryIndex = 0;
|
||||
for (auto row = results.begin(); row != results.end(); ++row, ++entryIndex) {
|
||||
for (auto row = results.begin(); row != results.end(); ++row) {
|
||||
|
||||
int entry = atoi(row[0]);
|
||||
|
||||
@@ -3164,7 +3163,7 @@ bool TaskGoalListManager::LoadLists()
|
||||
if (entry > TaskGoalLists[listIndex].Max)
|
||||
TaskGoalLists[listIndex].Max = entry;
|
||||
|
||||
TaskGoalLists[listIndex].GoalItemEntries[entryIndex] = entry;
|
||||
TaskGoalLists[listIndex].GoalItemEntries.push_back(entry);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user