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

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

No files matched your search

+5
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;
}