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
@@ -153,7 +153,7 @@ public:
entry.groupid = atoi(row[2]);
entry._class = atoi(row[3]);
entry.level = atoi(row[4]);
entry.name = row[5];
entry.name = row[5] ? row[5] : "";
entry.isgroupleader = atoi(row[6]);
entry.israidleader = atoi(row[7]);
entry.islooter = atoi(row[8]);
@@ -298,7 +298,7 @@ public:
entry.groupid = atoi(row[2]);
entry._class = atoi(row[3]);
entry.level = atoi(row[4]);
entry.name = row[5];
entry.name = row[5] ? row[5] : "";
entry.isgroupleader = atoi(row[6]);
entry.israidleader = atoi(row[7]);
entry.islooter = atoi(row[8]);
@@ -331,7 +331,7 @@ public:
entry.groupid = atoi(row[2]);
entry._class = atoi(row[3]);
entry.level = atoi(row[4]);
entry.name = row[5];
entry.name = row[5] ? row[5] : "";
entry.isgroupleader = atoi(row[6]);
entry.israidleader = atoi(row[7]);
entry.islooter = atoi(row[8]);