aboutsummaryrefslogtreecommitdiff
path: root/src/game/ChatHandler.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-11-20 19:11:28 -0800
committermaximius <none@none>2009-11-20 19:11:28 -0800
commit654519d1a685e3b666c3be4eb74bbecd747bf735 (patch)
tree6426d9dacd803508dd2761d715b1bf62b38aea6f /src/game/ChatHandler.cpp
parent5b54c76ac339769978e869c8326720f99bd36b3e (diff)
*Some cleanup (mostly whitespace changes)
--HG-- branch : trunk
Diffstat (limited to 'src/game/ChatHandler.cpp')
-rw-r--r--src/game/ChatHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/ChatHandler.cpp b/src/game/ChatHandler.cpp
index 77661def698..44eba0e8ccd 100644
--- a/src/game/ChatHandler.cpp
+++ b/src/game/ChatHandler.cpp
@@ -675,7 +675,7 @@ void WorldSession::HandleTextEmoteOpcode( WorldPacket & recv_data )
GetPlayer()->GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE, text_emote, 0, unit);
//Send scripted event call
- if (unit && unit->GetTypeId()==TYPEID_UNIT && ((Creature*)unit)->AI())
+ if (unit && unit->GetTypeId() == TYPEID_UNIT && ((Creature*)unit)->AI())
((Creature*)unit)->AI()->ReceiveEmote(GetPlayer(),text_emote);
}