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)
{
switch( _thisThing->getThingType() )
if ( !GameScene.getBossHasBeenKilled() )
{
case TYPE_PLAYER:
switch( _thisThing->getThingType() )
{
CGameScene::hitBossArenaTrigger();
shutdown();
delete this;
break;
}
case TYPE_PLAYER:
{
CGameScene::hitBossArenaTrigger();
shutdown();
delete this;
break;
}
default:
break;
default:
break;
}
}
}