This commit is contained in:
parent
911c868e99
commit
65e92fca91
1 changed files with 12 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue