aboutsummaryrefslogtreecommitdiff
path: root/src/game/World.cpp
diff options
context:
space:
mode:
authorXanadu <none@none>2010-05-29 03:16:39 +0200
committerXanadu <none@none>2010-05-29 03:16:39 +0200
commitd104f19469f9a63636f16e0d0765cd6798bccf4b (patch)
tree200c4bb985b503d082a889722bafc3733776e831 /src/game/World.cpp
parentde97bd4f00df0265d1c352611d40d82ffacf45d4 (diff)
*Properly initialize members to prevent DB logging before the DB is started. Fixes a rarely seen startup crash.
*Code cleanup. --HG-- branch : trunk
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r--src/game/World.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp
index ded635cbf87..9b2c61b6b7d 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -1720,10 +1720,8 @@ void World::SetInitialWorldSettings()
sLog.SetLogDB(true);
}
else
- {
sLog.SetLogDB(false);
- sLog.SetLogDBLater(false);
- }
+
sScriptMgr.OnServerStartup();
sLog.outString("WORLD: World initialized");
}