[7211] Re-calculate "gameobject for quests" data at quest_template reload. By VladimirMangos.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-01 16:29:01 -06:00
parent 6a85ed6b87
commit 7d855bec0a
2 changed files with 6 additions and 1 deletions

View File

@@ -616,6 +616,11 @@ bool ChatHandler::HandleReloadQuestTemplateCommand(const char*)
sLog.outString( "Re-Loading Quest Templates..." );
objmgr.LoadQuests();
SendGlobalGMSysMessage("DB table `quest_template` (quest definitions) reloaded.");
/// dependent also from `gameobject` but this table not reloaded anyway
sLog.outString( "Re-Loading GameObjects for quests..." );
objmgr.LoadGameObjectForQuests();
SendGlobalGMSysMessage("Data GameObjects for quests reloaded.");
return true;
}