diff options
author | megamage <none@none> | 2009-05-27 09:09:22 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-27 09:09:22 -0500 |
commit | cb72853dc6a9e7aa5301c1ab4e7fccbe1f34d2f4 (patch) | |
tree | 444980914b091b9add534251af6815452bda76bd /src/game/Player.cpp | |
parent | 1497d8f3914177fff8a4ce0a69fb33ac2263b3c5 (diff) |
*Cleanup message deliver functions. Remove unused parameters.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index c1e75451547..55def579532 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -5626,19 +5626,19 @@ void Player::SaveRecallPosition() m_recallO = GetOrientation(); } -void Player::SendMessageToSet(WorldPacket *data, bool self, bool to_possessor) +void Player::SendMessageToSet(WorldPacket *data, bool self) { - GetMap()->MessageBroadcast(this, data, self, to_possessor); + GetMap()->MessageBroadcast(this, data, self); } -void Player::SendMessageToSetInRange(WorldPacket *data, float dist, bool self, bool to_possessor) +void Player::SendMessageToSetInRange(WorldPacket *data, float dist, bool self) { - GetMap()->MessageDistBroadcast(this, data, dist, self, to_possessor); + GetMap()->MessageDistBroadcast(this, data, dist, self); } -void Player::SendMessageToSetInRange(WorldPacket *data, float dist, bool self, bool to_possessor, bool own_team_only) +void Player::SendMessageToSetInRange(WorldPacket *data, float dist, bool self, bool own_team_only) { - GetMap()->MessageDistBroadcast(this, data, dist, self, to_possessor, own_team_only); + GetMap()->MessageDistBroadcast(this, data, dist, self, own_team_only); } void Player::SendDirectMessage(WorldPacket *data) @@ -16730,7 +16730,7 @@ void Player::TextEmote(const std::string& text) { WorldPacket data(SMSG_MESSAGECHAT, 200); BuildPlayerChat(&data, CHAT_MSG_EMOTE, text, LANG_UNIVERSAL); - SendMessageToSetInRange(&data,sWorld.getConfig(CONFIG_LISTEN_RANGE_TEXTEMOTE),true, !sWorld.getConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_CHAT), true ); + SendMessageToSetInRange(&data,sWorld.getConfig(CONFIG_LISTEN_RANGE_TEXTEMOTE),true, !sWorld.getConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_CHAT)); if(sWorld.getConfig(CONFIG_CHATLOG_PUBLIC)) sLog.outChat("[TEXTEMOTE] Player %s emotes: %s", |