Core/Scripts: ScriptRegistry is no longer the part of ScriptMgr public interface, it is not required by caller side. Also remove extra function call to GetScriptId in scripts

This commit is contained in:
Spp-
2011-07-27 14:52:59 +02:00
parent 3e5aa2d1ff
commit 0b5c03f66b
12 changed files with 165 additions and 171 deletions
-1
View File
@@ -1361,6 +1361,5 @@ class ObjectMgr
// scripting access functions
bool LoadTrinityStrings(char const* table, int32 start_value = MAX_CREATURE_AI_TEXT_STRING_ID, int32 end_value = std::numeric_limits<int32>::min());
uint32 GetScriptId(const char *name);
#endif