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

This commit is contained in:
VladimirMangos 2009-02-01 02:12:05 +03:00
parent 2e6e2946cc
commit 781b013a98
2 changed files with 6 additions and 1 deletions

View file

@ -239,6 +239,11 @@ bool ChatHandler::HandleReloadQuestTemplateCommand(const char*)
sLog.outString( "Re-Loading Quest Templates..." ); sLog.outString( "Re-Loading Quest Templates..." );
objmgr.LoadQuests(); objmgr.LoadQuests();
SendGlobalSysMessage("DB table `quest_template` (quest definitions) reloaded."); SendGlobalSysMessage("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();
SendGlobalSysMessage("Data GameObjects for quests reloaded.");
return true; return true;
} }

View file

@ -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__