Remove last remnants of obsolete npc_gossip table

This commit is contained in:
Antz 2018-01-06 20:22:30 +00:00 committed by Antz
parent 5dd1316212
commit c95097c759
5 changed files with 4 additions and 69 deletions

View file

@ -1347,9 +1347,6 @@ void World::SetInitialWorldSettings()
sLog.outString("Loading Instance encounters data..."); // must be after Creature loading
sObjectMgr.LoadInstanceEncounters();
sLog.outString("Loading Npc Text Id...");
sObjectMgr.LoadNpcGossips(); // must be after load Creature and LoadGossipText
sLog.outString("Loading Gossip scripts...");
sScriptMgr.LoadDbScripts(DBS_ON_GOSSIP); // must be before gossip menu options
@ -2218,7 +2215,10 @@ void World::ShutdownServ(uint32 time, uint32 options, uint8 exitcode)
if (time == 0)
{
if (!(options & SHUTDOWN_MASK_IDLE) || GetActiveAndQueuedSessionCount() == 0)
m_stopEvent = true; // exist code already set
{
sObjectAccessor.SaveAllPlayers(); // save all players.
m_stopEvent = true; // exist code already set
}
else
{
m_ShutdownTimer = 1;