*Missed a Boss Emote Command change

--HG--
branch : trunk
This commit is contained in:
maximius
2009-09-13 00:03:54 -07:00
parent eef5abe6e1
commit 8c94b29b09
+4 -1
View File
@@ -2874,7 +2874,7 @@ void Map::ScriptsProcess()
uint64 unit_target = target ? target->GetGUID() : 0; uint64 unit_target = target ? target->GetGUID() : 0;
//datalong 0=normal say, 1=whisper, 2=yell, 3=emote text //datalong 0=normal say, 1=whisper, 2=yell, 3=emote text, 4=boss emote text
switch(step.script->datalong) switch(step.script->datalong)
{ {
case 0: // Say case 0: // Say
@@ -2894,6 +2894,9 @@ void Map::ScriptsProcess()
case 3: // Emote text case 3: // Emote text
((Creature *)source)->TextEmote(step.script->dataint, unit_target); ((Creature *)source)->TextEmote(step.script->dataint, unit_target);
break; break;
case 4: // Boss Emote text
((Creature *)source)->MonsterTextEmote(step.script->dataint, unit_target, true);
break;
default: default:
break; // must be already checked at load break; // must be already checked at load
} }