From 1fc73ff41b0b113ee0cbc072f8ed81a2c572924c Mon Sep 17 00:00:00 2001 From: Neo2003 Date: Sun, 5 Oct 2008 11:38:24 -0500 Subject: [svn] * PlaySound changed to SendPlaySound, moved to WorldObject and used everywhere instead of hard-coding packet --HG-- branch : trunk --- src/game/Player.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/game/Player.cpp') 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 ); -- cgit v1.2.3