aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Map.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp
index 2953236bcbd..4c6dbba2e90 100644
--- a/src/game/Map.cpp
+++ b/src/game/Map.cpp
@@ -2874,7 +2874,7 @@ void Map::ScriptsProcess()
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)
{
case 0: // Say
@@ -2894,6 +2894,9 @@ void Map::ScriptsProcess()
case 3: // Emote text
((Creature *)source)->TextEmote(step.script->dataint, unit_target);
break;
+ case 4: // Boss Emote text
+ ((Creature *)source)->MonsterTextEmote(step.script->dataint, unit_target, true);
+ break;
default:
break; // must be already checked at load
}