If an error occurs (!results.Success()) in loadlootdrops the method continues processing instead of exiting.

This commit is contained in:
Tim DeLong 2016-01-21 11:53:14 -05:00
parent d86307c720
commit b4b28e5eb8

View File

@ -1920,6 +1920,7 @@ void SharedDatabase::LoadLootDrops(void *data, uint32 size) {
"ON lootdrop.id = lootdrop_entries.lootdrop_id ORDER BY lootdrop_id";
auto results = QueryDatabase(query);
if (!results.Success()) {
return;
}
uint32 current_id = 0;