*Do not show error for not assigned example scripts.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-12 11:16:26 -05:00
parent d4aa5605d4
commit 1fbc7377d1

View File

@@ -1657,7 +1657,7 @@ void Script::RegisterSelf()
m_scripts[id] = this;
++num_sc_scripts;
}
else
else if(Name.find("example") == std::string::npos)
{
error_db_log("CRASH ALERT! TrinityScript: RegisterSelf, but script named %s does not have ScriptName assigned in database.",(this)->Name.c_str());
delete this;