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
@@ -161,7 +161,7 @@ public:
Spawngroup entry{};
entry.id = atoi(row[0]);
entry.name = row[1];
entry.name = row[1] ? row[1] : "";
entry.spawn_limit = atoi(row[2]);
entry.dist = atof(row[3]);
entry.max_x = atof(row[4]);
@@ -322,7 +322,7 @@ public:
Spawngroup entry{};
entry.id = atoi(row[0]);
entry.name = row[1];
entry.name = row[1] ? row[1] : "";
entry.spawn_limit = atoi(row[2]);
entry.dist = atof(row[3]);
entry.max_x = atof(row[4]);
@@ -359,7 +359,7 @@ public:
Spawngroup entry{};
entry.id = atoi(row[0]);
entry.name = row[1];
entry.name = row[1] ? row[1] : "";
entry.spawn_limit = atoi(row[2]);
entry.dist = atof(row[3]);
entry.max_x = atof(row[4]);