mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 11:40:44 +00:00
Crash fixes
This commit is contained in:
1 parent
6597967acd
commit
19271f90a4
2 files changed
+9
-2
No files matched your search
@@ -81,7 +81,9 @@ void ExportSpells(SharedDatabase *db) {
|
||||
line.push_back('^');
|
||||
}
|
||||
|
||||
line += row[i];
|
||||
if(row[i] != nullptr) {
|
||||
line += row[i];
|
||||
}
|
||||
}
|
||||
|
||||
fprintf(f, "%s\n", line.c_str());
|
||||
@@ -180,7 +182,9 @@ void ExportBaseData(SharedDatabase *db) {
|
||||
if(rowIndex != 0)
|
||||
line.push_back('^');
|
||||
|
||||
line += row[rowIndex];
|
||||
if(row[rowIndex] != nullptr) {
|
||||
line += row[rowIndex];
|
||||
}
|
||||
}
|
||||
|
||||
fprintf(f, "%s\n", line.c_str());
|
||||
|
||||
Reference in new issue
Block a user