Changeset 12 for trunk/src/bindings/scripts/ScriptMgr.cpp
- Timestamp:
- 11/19/08 13:22:59 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bindings/scripts/ScriptMgr.cpp
r6 r12 1854 1854 if(GetSoundEntriesStore()->LookupEntry((*i).second.SoundId)) 1855 1855 { 1856 WorldPacket data(4); 1857 data.SetOpcode(SMSG_PLAY_SOUND); 1858 data << uint32((*i).second.SoundId); 1859 pSource->SendMessageToSet(&data,false); 1856 pSource->SendPlaySound((*i).second.SoundId, false); 1860 1857 } 1861 1858 else