aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level3.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-01 16:29:01 -0600
committermegamage <none@none>2009-02-01 16:29:01 -0600
commit7d855bec0ad23aa316cb1d75dba27c1ea251f113 (patch)
tree7e88239b5335dff19811dd066b02cd5952198a2c /src/game/Level3.cpp
parent6a85ed6b875276d1c0a6158ebe8b01a0658bb304 (diff)
[7211] Re-calculate "gameobject for quests" data at `quest_template` reload. By VladimirMangos.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Level3.cpp')
-rw-r--r--src/game/Level3.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp
index f05ff67ae09..5aaa62c71ed 100644
--- a/src/game/Level3.cpp
+++ b/src/game/Level3.cpp
@@ -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;
}