*Properly initialize members to prevent DB logging before the DB is started. Fixes a rarely seen startup crash.
*Code cleanup. --HG-- branch : trunk
This commit is contained in:
+1
-3
@@ -1720,10 +1720,8 @@ void World::SetInitialWorldSettings()
|
||||
sLog.SetLogDB(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
sLog.SetLogDB(false);
|
||||
sLog.SetLogDBLater(false);
|
||||
}
|
||||
|
||||
sScriptMgr.OnServerStartup();
|
||||
sLog.outString("WORLD: World initialized");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user