Core/Scripts: Fixed calling UnitScript hooks

Closes #16543
This commit is contained in:
Shauren
2016-02-11 16:35:42 +01:00
parent 541c125c2c
commit f809e5e13e
2 changed files with 10 additions and 27 deletions

View File

@@ -842,10 +842,7 @@ class GroupScript : public ScriptObject
// namespace
// {
typedef std::vector<ScriptObject*> UnusedScriptContainer;
typedef std::list<std::string> UnusedScriptNamesContainer;
extern UnusedScriptContainer UnusedScripts;
extern UnusedScriptNamesContainer UnusedScriptNames;
// }
@@ -877,7 +874,6 @@ class ScriptMgr
public: /* Unloading */
void Unload();
void UnloadUnusedScripts();
public: /* SpellScriptLoader */