Core/DBLayer: Fix remaining errors in loading world tables and a couple of them in characters database
Also removed World::LoadIp2nation(), it was not doing anything. Closes #5897
This commit is contained in:
1 parent
76397cf931
commit
f44e6834df
7 files changed
+13
-32
No files matched your search
@@ -358,7 +358,7 @@ void InstanceSaveManager::LoadResetTimes()
|
||||
{
|
||||
Field* fields = result->Fetch();
|
||||
uint32 mapid = fields[0].GetUInt16();
|
||||
Difficulty difficulty = Difficulty(fields[1].GetUInt32());
|
||||
Difficulty difficulty = Difficulty(fields[1].GetUInt8());
|
||||
uint64 oldresettime = fields[2].GetUInt32();
|
||||
|
||||
MapDifficulty const* mapDiff = GetMapDifficultyData(mapid, difficulty);
|
||||
|
||||
Reference in new issue
Block a user