diff options
author | Neo2003 <none@none> | 2008-10-05 11:38:24 -0500 |
---|---|---|
committer | Neo2003 <none@none> | 2008-10-05 11:38:24 -0500 |
commit | 1fc73ff41b0b113ee0cbc072f8ed81a2c572924c (patch) | |
tree | e2921caa16730e21b3e7988c2bbb1a12f8fce2b1 /src/game/Player.cpp | |
parent | 9245de813869b8c386b651204678d1a1b4d84ea7 (diff) |
[svn] * PlaySound changed to SendPlaySound, moved to WorldObject and used everywhere instead of hard-coding packet
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index ff0e032b0e7..1d032265a80 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -15380,16 +15380,6 @@ void Player::SendAutoRepeatCancel() GetSession()->SendPacket( &data );
}
-void Player::PlaySound(uint32 Sound, bool OnlySelf)
-{
- WorldPacket data(SMSG_PLAY_SOUND, 4);
- data << Sound;
- if (OnlySelf)
- GetSession()->SendPacket( &data );
- else
- SendMessageToSet( &data, true );
-}
-
void Player::SendExplorationExperience(uint32 Area, uint32 Experience)
{
WorldPacket data( SMSG_EXPLORATION_EXPERIENCE, 8 );
|