Core: Removed unused functions (leftovers from sd2, was needed when scripts were built as separate dll)
This commit is contained in:
1 parent
2cc51e2482
commit
e1bacef346
18 files changed
+29
-96
No files matched your search
@@ -1007,7 +1007,7 @@ class ScriptMgr
|
||||
{
|
||||
// Get an ID for the script. An ID only exists if it's a script that is assigned in the database
|
||||
// through a script name (or similar).
|
||||
uint32 id = GetScriptId(script->GetName().c_str());
|
||||
uint32 id = sObjectMgr->GetScriptId(script->GetName().c_str());
|
||||
if (id)
|
||||
{
|
||||
// Try to find an existing script.
|
||||
|
||||
Reference in new issue
Block a user