From 1aa2694e571823def1ee050c40d9323c5bf8b7fe Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 9 Aug 2001 15:21:08 +0000 Subject: [PATCH] --- source/game/game.cpp | 6 ++++++ source/game/game.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/source/game/game.cpp b/source/game/game.cpp index 6a471dd7b..f01dad746 100644 --- a/source/game/game.cpp +++ b/source/game/game.cpp @@ -761,6 +761,12 @@ void CGameScene::setReadyToExit() CFader::setFadingOut(); } +/*****************************************************************************/ +void CGameScene::setBossHasBeenKilled() +{ + s_bossHasBeenKilled=true; + s_showBossTextOnRespawn=false; +} /*****************************************************************************/ void CGameScene::hitBossArenaTrigger() { diff --git a/source/game/game.h b/source/game/game.h index 7f0f6979e..b97692c15 100644 --- a/source/game/game.h +++ b/source/game/game.h @@ -64,7 +64,7 @@ static void restartlevel() {s_restartLevel=true;} static ACTOR_TYPE getActorType( int actorNum ) {return actorType[actorNum];} -static void setBossHasBeenKilled() {s_bossHasBeenKilled=true;} +static void setBossHasBeenKilled(); static int getBossHasBeenKilled() {return s_bossHasBeenKilled;} static void dropHealth(DVECTOR const &Pos,int Amount,int Vel);