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
+3 -3
View File
@@ -143,7 +143,7 @@ public:
entry.it_chance = atoi(row[1]);
entry.it_level = atoi(row[2]);
entry.it_id = atoi(row[3]);
entry.it_qglobal = row[4];
entry.it_qglobal = row[4] ? row[4] : "";
entry.it_bagslot = atoi(row[5]);
return entry;
@@ -276,7 +276,7 @@ public:
entry.it_chance = atoi(row[1]);
entry.it_level = atoi(row[2]);
entry.it_id = atoi(row[3]);
entry.it_qglobal = row[4];
entry.it_qglobal = row[4] ? row[4] : "";
entry.it_bagslot = atoi(row[5]);
all_entries.push_back(entry);
@@ -306,7 +306,7 @@ public:
entry.it_chance = atoi(row[1]);
entry.it_level = atoi(row[2]);
entry.it_id = atoi(row[3]);
entry.it_qglobal = row[4];
entry.it_qglobal = row[4] ? row[4] : "";
entry.it_bagslot = atoi(row[5]);
all_entries.push_back(entry);