mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 04:56:20 +00:00
Return blank string values for string entries that return back null
This commit is contained in:
@@ -168,7 +168,7 @@ public:
|
||||
|
||||
entry.id = atoi(row[0]);
|
||||
entry.spawngroupID = atoi(row[1]);
|
||||
entry.zone = row[2];
|
||||
entry.zone = row[2] ? row[2] : "";
|
||||
entry.version = atoi(row[3]);
|
||||
entry.x = atof(row[4]);
|
||||
entry.y = atof(row[5]);
|
||||
@@ -337,7 +337,7 @@ public:
|
||||
|
||||
entry.id = atoi(row[0]);
|
||||
entry.spawngroupID = atoi(row[1]);
|
||||
entry.zone = row[2];
|
||||
entry.zone = row[2] ? row[2] : "";
|
||||
entry.version = atoi(row[3]);
|
||||
entry.x = atof(row[4]);
|
||||
entry.y = atof(row[5]);
|
||||
@@ -376,7 +376,7 @@ public:
|
||||
|
||||
entry.id = atoi(row[0]);
|
||||
entry.spawngroupID = atoi(row[1]);
|
||||
entry.zone = row[2];
|
||||
entry.zone = row[2] ? row[2] : "";
|
||||
entry.version = atoi(row[3]);
|
||||
entry.x = atof(row[4]);
|
||||
entry.y = atof(row[5]);
|
||||
|
||||
Reference in New Issue
Block a user