Restructure and refactoring of database convert/upgrade check routine, breaking out to individual functions

This commit is contained in:
Akkadius committed 2014-11-23 23:46:06 -06:00
1 parent e4f45d7b35
commit 3c2b8d13b9
6 files changed
+619 -623

No files matched your search

-1
View File
@@ -3699,7 +3699,6 @@ bool ZoneDatabase::LoadCharacterCorpseData(uint32 corpse_id, PlayerCorpse_Struct
corpse_id
);
auto results = QueryDatabase(query);
std::cout << query << std::endl;
uint16 i = 0;
for (auto row = results.begin(); row != results.end(); ++row) {
pcs->locked = atoi(row[i++]); // is_locked,