mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
Fix issues with TaskGoalListManager::LoadLists
This commit is contained in:
parent
c3e007597e
commit
6b64a8183d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user