[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..." );
|
sLog.outString( "Re-Loading Quest Templates..." );
|
||||||
objmgr.LoadQuests();
|
objmgr.LoadQuests();
|
||||||
SendGlobalGMSysMessage("DB table `quest_template` (quest definitions) reloaded.");
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7210"
|
#define REVISION_NR "7211"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|||||||
Reference in New Issue
Block a user