This commit is contained in:
parent
e4daf8844b
commit
f12a92d250
3 changed files with 39 additions and 37 deletions
|
@ -721,7 +721,7 @@ int CGameScene::getTotalSpatCountForThisLevel()
|
|||
/*****************************************************************************/
|
||||
int CGameScene::triggerTeleportEffect()
|
||||
{
|
||||
if(m_gamestate==GAMESTATE_PLAYING&&!m_player->isDead())
|
||||
if(m_gamestate==GAMESTATE_PLAYING)
|
||||
{
|
||||
m_gamestate=GAMESTATE_TELEPORT_START;
|
||||
CFader::setFadingOut();
|
||||
|
@ -776,7 +776,7 @@ void CGameScene::setBossHasBeenKilled()
|
|||
/*****************************************************************************/
|
||||
void CGameScene::hitBossArenaTrigger()
|
||||
{
|
||||
if(!s_showBossTextOnRespawn&&!m_player->isDead())
|
||||
if(!s_showBossTextOnRespawn)
|
||||
{
|
||||
s_justHitBossArenaTrigger=true;
|
||||
s_showBossTextOnRespawn=true;
|
||||
|
|
|
@ -737,6 +737,8 @@ if(newmode!=-1)
|
|||
newmode=-1;
|
||||
}
|
||||
|
||||
if(!isDead())
|
||||
{
|
||||
CThing *platform;
|
||||
platform=isOnPlatform();
|
||||
if(platform)
|
||||
|
@ -781,7 +783,7 @@ if(newmode!=-1)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
m_allowConversation=false;
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ void CBossArenaTrigger::collidedWith(CThing *_thisThing)
|
|||
{
|
||||
case TYPE_PLAYER:
|
||||
{
|
||||
CGameScene::hitBossArenaTrigger();
|
||||
GameScene.hitBossArenaTrigger();
|
||||
shutdown();
|
||||
delete this;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue