diff options
author | Spp- <u84280@epreinf21.(none)> | 2011-07-27 14:52:59 +0200 |
---|---|---|
committer | Spp- <u84280@epreinf21.(none)> | 2011-07-27 14:52:59 +0200 |
commit | 0b5c03f66b0ce82add6a9d2f8df89e67c936f21f (patch) | |
tree | 18f5be9b1c6c4102b346892aaa9010642e499254 /src/server/game/Globals/ObjectMgr.cpp | |
parent | 3e5aa2d1ff02f062ae9491b1a60a312a4f958c0d (diff) |
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
Diffstat (limited to 'src/server/game/Globals/ObjectMgr.cpp')
-rwxr-xr-x | src/server/game/Globals/ObjectMgr.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index 4e37508b7d2..2e222fad61d 100755 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -8746,11 +8746,6 @@ bool LoadTrinityStrings(char const* table, int32 start_value, int32 end_value) return sObjectMgr->LoadTrinityStrings(table, start_value, end_value); } -uint32 GetScriptId(const char *name) -{ - return sObjectMgr->GetScriptId(name); -} - CreatureBaseStats const* ObjectMgr::GetCreatureBaseStats(uint8 level, uint8 unitClass) { CreatureBaseStatsMap::const_iterator it = m_creatureBaseStatsMap.find(MAKE_PAIR16(level, unitClass)); |