This commit is contained in:
parent
9aa9e98fa6
commit
4542864e8f
2 changed files with 8 additions and 3 deletions
|
@ -205,7 +205,11 @@ void CLevel::init(int LevelNo)
|
|||
// Load it
|
||||
sLvlTab *lvlTab=&LvlTable[LevelNo];
|
||||
|
||||
|
||||
m_isFMA=0;
|
||||
if (lvlTab->Chapter==6)
|
||||
{
|
||||
m_isFMA=1;
|
||||
}
|
||||
CSoundMediator::setSong((CSoundMediator::SONGID)lvlTab->songId);
|
||||
|
||||
LevelHdr=(sLevelHdr*)CFileIO::loadFile(lvlTab->LevelFilename,"Level");
|
||||
|
@ -633,7 +637,7 @@ void CLevel::initThings(int _respawningLevel)
|
|||
CThingManager::matchWheelsAndWeights();
|
||||
CThingManager::matchPressureSwitches();
|
||||
CThingManager::matchGaryTriggers();
|
||||
GameScene.initHealth();
|
||||
if (!m_isFMA) GameScene.initHealth();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ static CFmaScene::FMA_SCRIPT_NUMBER getFMAToFollow() {return LvlTable[s_glo
|
|||
int getMapHeight16() {return(MapSize16.vy);}
|
||||
|
||||
bool GetNextLevel(int &Lvl);
|
||||
|
||||
int isFMA() {return(m_isFMA);}
|
||||
void respawnLevel();
|
||||
static sLevelHdr *getLevelHdr() {return(LevelHdr);}
|
||||
|
||||
|
@ -135,6 +135,7 @@ static int s_playerFacing;
|
|||
|
||||
u8 *m_RGBMap;
|
||||
u8 *m_RGBTable;
|
||||
u8 m_isFMA;
|
||||
|
||||
static u8 m_isBossRespawn;
|
||||
static s32 m_bossHealth;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue