Return blank string values for string entries that return back null

This commit is contained in:
Akkadius
2020-04-04 04:48:46 -05:00
parent 15c9b64120
commit fe7e850a04
97 changed files with 788 additions and 790 deletions
@@ -144,7 +144,7 @@ public:
entry.bandolier_slot = atoi(row[2]);
entry.item_id = atoi(row[3]);
entry.icon = atoi(row[4]);
entry.bandolier_name = row[5];
entry.bandolier_name = row[5] ? row[5] : "";
return entry;
}
@@ -271,7 +271,7 @@ public:
entry.bandolier_slot = atoi(row[2]);
entry.item_id = atoi(row[3]);
entry.icon = atoi(row[4]);
entry.bandolier_name = row[5];
entry.bandolier_name = row[5] ? row[5] : "";
all_entries.push_back(entry);
}
@@ -301,7 +301,7 @@ public:
entry.bandolier_slot = atoi(row[2]);
entry.item_id = atoi(row[3]);
entry.icon = atoi(row[4]);
entry.bandolier_name = row[5];
entry.bandolier_name = row[5] ? row[5] : "";
all_entries.push_back(entry);
}