mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 19:37:01 +00:00
[7211] Re-calculate "gameobject for quests" data at quest_template reload.
This commit is contained in:
parent
2e6e2946cc
commit
781b013a98
2 changed files with 6 additions and 1 deletions
|
|
@ -239,6 +239,11 @@ bool ChatHandler::HandleReloadQuestTemplateCommand(const char*)
|
|||
sLog.outString( "Re-Loading Quest Templates..." );
|
||||
objmgr.LoadQuests();
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7210"
|
||||
#define REVISION_NR "7211"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue