Revert part of "Core: Removed unused functions (leftovers from sd2, was needed when scripts were built as separate dll)", this part wasnt intended

This reverts commit partly e1bacef346.
This commit is contained in:
Shauren
2011-04-01 23:14:31 +02:00
parent e1bacef346
commit 7b35d73317
9 changed files with 14 additions and 8 deletions

View File

@@ -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 = sObjectMgr->GetScriptId(script->GetName().c_str());
uint32 id = GetScriptId(script->GetName().c_str());
if (id)
{
// Try to find an existing script.