Changeset 12 for trunk/src/bindings/scripts/include
- Timestamp:
- 11/19/08 13:22:59 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bindings/scripts/include/sc_creature.cpp
r6 r12 6 6 #include "Item.h" 7 7 #include "Spell.h" 8 #include "WorldPacket.h"9 8 10 9 // Spell summary for ScriptedAI::SelectSpell … … 203 202 } 204 203 205 WorldPacket data(4); 206 data.SetOpcode(SMSG_PLAY_SOUND); 207 data << uint32(sound); 208 unit->SendMessageToSet(&data,false); 204 unit->SendPlaySound(sound, false); 209 205 } 210 206