This commit is contained in:
parent
911c868e99
commit
65e92fca91
@ -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…
Reference in New Issue
Block a user