mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 13:16:39 +00:00
Return blank string values for string entries that return back null
This commit is contained in:
@@ -156,7 +156,7 @@ public:
|
||||
|
||||
entry.type = atoi(row[0]);
|
||||
entry.npc_type = atoi(row[1]);
|
||||
entry.name = row[2];
|
||||
entry.name = row[2] ? row[2] : "";
|
||||
entry.spell_id = atoi(row[3]);
|
||||
entry.distance = atoi(row[4]);
|
||||
entry.aura_type = atoi(row[5]);
|
||||
@@ -309,7 +309,7 @@ public:
|
||||
|
||||
entry.type = atoi(row[0]);
|
||||
entry.npc_type = atoi(row[1]);
|
||||
entry.name = row[2];
|
||||
entry.name = row[2] ? row[2] : "";
|
||||
entry.spell_id = atoi(row[3]);
|
||||
entry.distance = atoi(row[4]);
|
||||
entry.aura_type = atoi(row[5]);
|
||||
@@ -344,7 +344,7 @@ public:
|
||||
|
||||
entry.type = atoi(row[0]);
|
||||
entry.npc_type = atoi(row[1]);
|
||||
entry.name = row[2];
|
||||
entry.name = row[2] ? row[2] : "";
|
||||
entry.spell_id = atoi(row[3]);
|
||||
entry.distance = atoi(row[4]);
|
||||
entry.aura_type = atoi(row[5]);
|
||||
|
||||
Reference in New Issue
Block a user