Show
Ignore:
Timestamp:
11/19/08 13:22:59 (17 years ago)
Author:
yumileroy
Message:

[svn] * PlaySound? changed to SendPlaySound?, moved to WorldObject? and used everywhere instead of hard-coding packet

Original author: Neo2003
Date: 2008-10-05 11:38:24-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Player.cpp

    r9 r12  
    1538115381} 
    1538215382 
    15383 void Player::PlaySound(uint32 Sound, bool OnlySelf) 
    15384 { 
    15385     WorldPacket data(SMSG_PLAY_SOUND, 4); 
    15386     data << Sound; 
    15387     if (OnlySelf) 
    15388         GetSession()->SendPacket( &data ); 
    15389     else 
    15390         SendMessageToSet( &data, true ); 
    15391 } 
    15392  
    1539315383void Player::SendExplorationExperience(uint32 Area, uint32 Experience) 
    1539415384{