Core/Scripts: Fixed calling UnitScript hooks
Closes #16543 (cherry picked from commit f809e5e13eac66add49d361ffb1634ff2ba6d4aa)
This commit is contained in:
1 parent
b4b43d03b3
commit
7f817a4fc0
2 files changed
+10
-27
No files matched your search
@@ -843,10 +843,7 @@ class GroupScript : public ScriptObject
|
||||
|
||||
// namespace
|
||||
// {
|
||||
typedef std::vector<ScriptObject*> UnusedScriptContainer;
|
||||
typedef std::list<std::string> UnusedScriptNamesContainer;
|
||||
|
||||
extern UnusedScriptContainer UnusedScripts;
|
||||
extern UnusedScriptNamesContainer UnusedScriptNames;
|
||||
// }
|
||||
|
||||
@@ -878,7 +875,6 @@ class ScriptMgr
|
||||
public: /* Unloading */
|
||||
|
||||
void Unload();
|
||||
void UnloadUnusedScripts();
|
||||
|
||||
public: /* SpellScriptLoader */
|
||||
|
||||
|
||||
Reference in new issue
Block a user