Mercurial > mm7
comparison Engine/Objects/Chest.cpp @ 2506:9b96a51011fb
for sound
author | Ritor1 |
---|---|
date | Thu, 25 Sep 2014 10:39:49 +0600 |
parents | a77c34acdbc9 |
children | c7264ab7132f |
comparison
equal
deleted
inserted
replaced
2505:e3a619609dae | 2506:9b96a51011fb |
---|---|
161 pSpellObject.uSpriteFrameID = 0; | 161 pSpellObject.uSpriteFrameID = 0; |
162 pSpellObject.spell_caster_pid = 0; | 162 pSpellObject.spell_caster_pid = 0; |
163 pSpellObject.spell_target_pid = 0; | 163 pSpellObject.spell_target_pid = 0; |
164 pSpellObject.uFacing = 0; | 164 pSpellObject.uFacing = 0; |
165 pSpellObject.Create(0, 0, 0, 0); | 165 pSpellObject.Create(0, 0, 0, 0); |
166 pAudioPlayer->PlaySound(SOUND_8, 0, 0, -1, 0, 0, 0, 0); | 166 pAudioPlayer->PlaySound(SOUND_Explosion, 0, 0, -1, 0, 0, 0, 0); |
167 pSpellObject.ExplosionTraps(); | 167 pSpellObject.ExplosionTraps(); |
168 chest->uFlags &= 0xFEu; | 168 chest->uFlags &= 0xFEu; |
169 if ( uActiveCharacter && !_A750D8_player_speech_timer && !OpenedTelekinesis ) | 169 if ( uActiveCharacter && !_A750D8_player_speech_timer && !OpenedTelekinesis ) |
170 { | 170 { |
171 _A750D8_player_speech_timer = 256i64; | 171 _A750D8_player_speech_timer = 256i64; |