mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-01 14:21:37 +00:00
Return blank string values for string entries that return back null
This commit is contained in:
@@ -176,7 +176,7 @@ public:
|
||||
entry.slot_id = atoi(row[1]);
|
||||
entry.spell_id = atoi(row[2]);
|
||||
entry.caster_level = atoi(row[3]);
|
||||
entry.caster_name = row[4];
|
||||
entry.caster_name = row[4] ? row[4] : "";
|
||||
entry.ticsremaining = atoi(row[5]);
|
||||
entry.counters = atoi(row[6]);
|
||||
entry.numhits = atoi(row[7]);
|
||||
@@ -350,7 +350,7 @@ public:
|
||||
entry.slot_id = atoi(row[1]);
|
||||
entry.spell_id = atoi(row[2]);
|
||||
entry.caster_level = atoi(row[3]);
|
||||
entry.caster_name = row[4];
|
||||
entry.caster_name = row[4] ? row[4] : "";
|
||||
entry.ticsremaining = atoi(row[5]);
|
||||
entry.counters = atoi(row[6]);
|
||||
entry.numhits = atoi(row[7]);
|
||||
@@ -391,7 +391,7 @@ public:
|
||||
entry.slot_id = atoi(row[1]);
|
||||
entry.spell_id = atoi(row[2]);
|
||||
entry.caster_level = atoi(row[3]);
|
||||
entry.caster_name = row[4];
|
||||
entry.caster_name = row[4] ? row[4] : "";
|
||||
entry.ticsremaining = atoi(row[5]);
|
||||
entry.counters = atoi(row[6]);
|
||||
entry.numhits = atoi(row[7]);
|
||||
|
||||
Reference in New Issue
Block a user