Clear player scripts and guild scripts on ScriptMgr deletion.

--HG--
branch : trunk
This commit is contained in:
silinoron
2010-08-14 12:44:54 -07:00
parent 791a45768f
commit f3b93df6b7

View File

@@ -170,6 +170,8 @@ ScriptMgr::~ScriptMgr()
SCR_CLEAR(DynamicObjectScript);
SCR_CLEAR(TransportScript);
SCR_CLEAR(AchievementCriteriaScript);
SCR_CLEAR(PlayerScript);
SCR_CLEAR(GuildScript);
#undef SCR_CLEAR
}