This commit is contained in:
Paul 2001-07-04 18:37:17 +00:00
parent c67894af09
commit 0e48535521
7 changed files with 31 additions and 7 deletions

View file

@ -18,6 +18,10 @@
#include "triggers\trigger.h"
#include "triggers\tsecret.h"
#ifndef __SOUND_SOUND_H__
#include "sound\sound.h"
#endif
/* Std Lib
------- */
@ -54,7 +58,7 @@ void CSecretAreaTrigger::collidedWith(CThing *_thisThing)
{
case TYPE_PLAYER:
{
CSoundMediator::play
CSoundMediator::playSfx(CSoundMediator::SFX_SECRET_AREA);
shutdown();
delete this;
break;