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