diff options
author | megamage <none@none> | 2009-02-01 16:29:01 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-01 16:29:01 -0600 |
commit | 7d855bec0ad23aa316cb1d75dba27c1ea251f113 (patch) | |
tree | 7e88239b5335dff19811dd066b02cd5952198a2c /src | |
parent | 6a85ed6b875276d1c0a6158ebe8b01a0658bb304 (diff) |
[7211] Re-calculate "gameobject for quests" data at `quest_template` reload. By VladimirMangos.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Level3.cpp | 5 | ||||
-rw-r--r-- | src/shared/revision_nr.h | 2 |
2 files changed, 6 insertions, 1 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; } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 67c98f12921..4a3bedbbeab 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7210" + #define REVISION_NR "7211" #endif // __REVISION_NR_H__ |