Added ScriptName to battleground_template for script system rewrite

--HG--
branch : trunk
This commit is contained in:
Shauren committed 2010-08-06 13:47:17 +02:00
1 parent 6a202826e6
commit 07348ff4af
6 files changed
+15 -5

No files matched your search

+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 <> '' "