This commit is contained in:
Daveo 2001-08-16 19:40:54 +00:00
parent 9aa9e98fa6
commit 4542864e8f
2 changed files with 8 additions and 3 deletions

View file

@ -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();
}