mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
Remove last remnants of obsolete npc_gossip table
This commit is contained in:
parent
5dd1316212
commit
c95097c759
5 changed files with 4 additions and 69 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue