This commit is contained in:
Charles 2001-07-16 14:26:15 +00:00
parent 911c868e99
commit 65e92fca91

View File

@ -54,18 +54,21 @@
---------------------------------------------------------------------- */ ---------------------------------------------------------------------- */
void CBossArenaTrigger::collidedWith(CThing *_thisThing) void CBossArenaTrigger::collidedWith(CThing *_thisThing)
{ {
switch( _thisThing->getThingType() ) if ( !GameScene.getBossHasBeenKilled() )
{ {
case TYPE_PLAYER: switch( _thisThing->getThingType() )
{ {
CGameScene::hitBossArenaTrigger(); case TYPE_PLAYER:
shutdown(); {
delete this; CGameScene::hitBossArenaTrigger();
break; shutdown();
} delete this;
break;
}
default: default:
break; break;
}
} }
} }