Core/Scripts: Fixed calling UnitScript hooks

Closes #16543

(cherry picked from commit f809e5e13eac66add49d361ffb1634ff2ba6d4aa)
This commit is contained in:
Shauren committed 2016-02-11 16:36:08 +01:00
1 parent b4b43d03b3
commit 7f817a4fc0
2 files changed
+10 -27

No files matched your search

-4
View File
@@ -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 */