Added ScriptName to battleground_template for script system rewrite

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-08-06 13:47:17 +02:00
parent 6a202826e6
commit 07348ff4af
6 changed files with 15 additions and 5 deletions
+2
View File
@@ -8730,6 +8730,8 @@ void ObjectMgr::LoadScriptNames()
{
m_scriptNames.push_back("");
QueryResult_AutoPtr result = WorldDatabase.Query(
"SELECT DISTINCT(ScriptName) FROM battleground_template WHERE ScriptName <> '' "
"UNION "
"SELECT DISTINCT(ScriptName) FROM creature_template WHERE ScriptName <> '' "
"UNION "
"SELECT DISTINCT(ScriptName) FROM gameobject_template WHERE ScriptName <> '' "