mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Add in a forgotten change from ra5af596979e4 .
--HG-- branch : trunk
This commit is contained in:
@@ -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