This commit is contained in:
parent
ab7bbd8bdb
commit
52791b39f1
3 changed files with 8 additions and 0 deletions
|
@ -839,6 +839,12 @@ void CGameScene::initLevel()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*****************************************************************************/
|
||||||
|
void CGameScene::initHealth()
|
||||||
|
{
|
||||||
|
m_HealthManager->init();
|
||||||
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
void CGameScene::dropHealth(DVECTOR const &Pos,int Amount,int Vel)
|
void CGameScene::dropHealth(DVECTOR const &Pos,int Amount,int Vel)
|
||||||
{
|
{
|
||||||
|
|
|
@ -67,6 +67,7 @@ static ACTOR_TYPE getActorType( int actorNum ) {return actorType[actorNum];}
|
||||||
static void setBossHasBeenKilled();
|
static void setBossHasBeenKilled();
|
||||||
static int getBossHasBeenKilled() {return s_bossHasBeenKilled;}
|
static int getBossHasBeenKilled() {return s_bossHasBeenKilled;}
|
||||||
|
|
||||||
|
static void initHealth();
|
||||||
static void dropHealth(DVECTOR const &Pos,int Amount,int Vel);
|
static void dropHealth(DVECTOR const &Pos,int Amount,int Vel);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -633,6 +633,7 @@ void CLevel::initThings(int _respawningLevel)
|
||||||
CThingManager::matchWheelsAndWeights();
|
CThingManager::matchWheelsAndWeights();
|
||||||
CThingManager::matchPressureSwitches();
|
CThingManager::matchPressureSwitches();
|
||||||
CThingManager::matchGaryTriggers();
|
CThingManager::matchGaryTriggers();
|
||||||
|
GameScene.initHealth();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue