mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
[7211] Re-calculate "gameobject for quests" data at quest_template reload. By VladimirMangos.
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7210"
|
||||
#define REVISION_NR "7211"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
||||
Reference in New Issue
Block a user