aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormaximius <none@none>2009-09-13 00:03:54 -0700
committermaximius <none@none>2009-09-13 00:03:54 -0700
commit8c94b29b09acc4cd20ea646f974052f9d3061faa (patch)
tree4978c056475a1acd1b6f3fef06eb5ba7c8d6a138 /src
parenteef5abe6e1931eeae91d3a1ed68a3bf44237dea2 (diff)
*Missed a Boss Emote Command change
--HG-- branch : trunk
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
}