mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-07 14:33:52 +00:00
Bug fix in SharedTaskManager::LoadSharedTaskState
This commit is contained in:
parent
c5f739cbda
commit
c2ab2a232b
@ -408,7 +408,7 @@ bool SharedTaskManager::LoadSharedTaskState()
|
||||
results = database.QueryDatabase(query);
|
||||
if (results.Success() && results.RowCount() == 1) {
|
||||
auto row = results.begin();
|
||||
next_id = atoi(row[0]);
|
||||
next_id = row[0] ? atoi(row[0]) : 0;
|
||||
} else {
|
||||
next_id = 0; // oh well
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user