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
@@ -137,7 +137,7 @@ public:
VeteranRewardTemplates entry{};
entry.claim_id = atoi(row[0]);
entry.name = row[1];
entry.name = row[1] ? row[1] : "";
entry.item_id = atoi(row[2]);
entry.charges = atoi(row[3]);
entry.reward_slot = atoi(row[4]);
@@ -263,7 +263,7 @@ public:
VeteranRewardTemplates entry{};
entry.claim_id = atoi(row[0]);
entry.name = row[1];
entry.name = row[1] ? row[1] : "";
entry.item_id = atoi(row[2]);
entry.charges = atoi(row[3]);
entry.reward_slot = atoi(row[4]);
@@ -292,7 +292,7 @@ public:
VeteranRewardTemplates entry{};
entry.claim_id = atoi(row[0]);
entry.name = row[1];
entry.name = row[1] ? row[1] : "";
entry.item_id = atoi(row[2]);
entry.charges = atoi(row[3]);
entry.reward_slot = atoi(row[4]);