Scripts/DB_Scripts: enable DB scripts to use CHAT_MSG_RAID_BOSS_WHISPER (42) as chat type

--HG--
branch : trunk
This commit is contained in:
Rat
2010-09-20 21:58:14 +02:00
parent f69c252f1d
commit cf93313316
2 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -4745,7 +4745,7 @@ void ObjectMgr::LoadScripts(ScriptsType type)
{
case SCRIPT_COMMAND_TALK:
{
if (tmp.datalong > CHAT_TYPE_WHISPER)
if (tmp.datalong > CHAT_TYPE_WHISPER && tmp.datalong != CHAT_MSG_RAID_BOSS_WHISPER)
{
sLog.outErrorDb("Table `%s` has invalid talk type (datalong = %u) in SCRIPT_COMMAND_TALK for script id %u",
tableName.c_str(),tmp.datalong,tmp.id);