Copyright header updates - part 3... (and some whitespace cleanups)

--HG--
branch : trunk
This commit is contained in:
click
2010-10-07 14:00:52 +02:00
parent df66aee929
commit a67d7c9afd
59 changed files with 931 additions and 938 deletions

View File

@@ -168,7 +168,7 @@ uint32 CreatureTextMgr::SendChat(Creature* source, uint8 textGroup, uint64 whisp
uint32 r = urand(0, 100);
offset++;
if (r <= chance)
break;
break;
}
}
uint32 pos = 0;
@@ -304,7 +304,7 @@ void CreatureTextMgr::BuildMonsterChat(WorldPacket *data, WorldObject* source, C
*data << (uint32)(strlen(source->GetName())+1);
*data << source->GetName();
*data << (uint64)whisperGuid; // Unit Target
if (whisperGuid && !IS_PLAYER_GUID(whisperGuid)) //can only whisper players
if (whisperGuid && !IS_PLAYER_GUID(whisperGuid)) //can only whisper players
{
sLog.outError("CreatureTextMgr: WorldObject(%s) TypeId %u GuidLow %u sent WHISPER msg to Non-Player target. Ignoring.",source->GetName(), uint32(source->GetTypeId()), source->GetGUIDLow());
return;
@@ -322,7 +322,7 @@ void CreatureTextMgr::SendChatPacket(WorldPacket *data, WorldObject* source, Cha
return;
float dist = sWorld.getFloatConfig(CONFIG_LISTEN_RANGE_SAY);
switch (msgtype)
{
case CHAT_TYPE_YELL: