*Some cleanup (mostly whitespace changes)

--HG--
branch : trunk
This commit is contained in:
maximius
2009-11-20 19:11:28 -08:00
parent 5b54c76ac3
commit 654519d1a6
61 changed files with 1023 additions and 1057 deletions

View File

@@ -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);
}