mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-01 10:11:37 +00:00
Return blank string values for string entries that return back null
This commit is contained in:
@@ -143,7 +143,7 @@ public:
|
||||
entry.it_chance = atoi(row[1]);
|
||||
entry.it_level = atoi(row[2]);
|
||||
entry.it_id = atoi(row[3]);
|
||||
entry.it_qglobal = row[4];
|
||||
entry.it_qglobal = row[4] ? row[4] : "";
|
||||
entry.it_bagslot = atoi(row[5]);
|
||||
|
||||
return entry;
|
||||
@@ -276,7 +276,7 @@ public:
|
||||
entry.it_chance = atoi(row[1]);
|
||||
entry.it_level = atoi(row[2]);
|
||||
entry.it_id = atoi(row[3]);
|
||||
entry.it_qglobal = row[4];
|
||||
entry.it_qglobal = row[4] ? row[4] : "";
|
||||
entry.it_bagslot = atoi(row[5]);
|
||||
|
||||
all_entries.push_back(entry);
|
||||
@@ -306,7 +306,7 @@ public:
|
||||
entry.it_chance = atoi(row[1]);
|
||||
entry.it_level = atoi(row[2]);
|
||||
entry.it_id = atoi(row[3]);
|
||||
entry.it_qglobal = row[4];
|
||||
entry.it_qglobal = row[4] ? row[4] : "";
|
||||
entry.it_bagslot = atoi(row[5]);
|
||||
|
||||
all_entries.push_back(entry);
|
||||
|
||||
Reference in New Issue
Block a user