Add in a forgotten change from ra5af596979e4 .
--HG-- branch : trunk
This commit is contained in:
1 parent
916c7f09f8
commit
791a45768f
1 file changed
+6
@@ -1299,6 +1299,12 @@ PlayerScript::PlayerScript(const char* name)
|
||||
ScriptMgr::ScriptRegistry<PlayerScript>::AddScript(this);
|
||||
}
|
||||
|
||||
GuildScript::GuildScript(const char* name)
|
||||
: ScriptObject(name)
|
||||
{
|
||||
ScriptMgr::ScriptRegistry<GuildScript>::AddScript(this);
|
||||
}
|
||||
|
||||
// Instantiate static members of ScriptMgr::ScriptRegistry.
|
||||
template<class TScript> std::map<uint32, TScript*> ScriptMgr::ScriptRegistry<TScript>::ScriptPointerList;
|
||||
template<class TScript> uint32 ScriptMgr::ScriptRegistry<TScript>::_scriptIdCounter = 0;
|
||||
|
||||
Reference in new issue
Block a user