1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-23 17:45:28 +00:00

script fixes

This commit is contained in:
eray orçunus 2020-02-23 18:32:28 +03:00 committed by erorcun
parent f8cd12ffb3
commit cbf396e6e9

View file

@ -8544,7 +8544,7 @@ int8 CRunningScript::ProcessCommands1000To1099(int32 command)
CTimer::Stop();
CGame::currLevel = (eLevelName)ScriptParams[0];
CStreaming::RemoveUnusedBigBuildings(CGame::currLevel);
CStreaming::RemoveIslandsNotUsed(CGame::currLevel);
CStreaming::RemoveUnusedBuildings(CGame::currLevel);
CCollision::SortOutCollisionAfterLoad();
CStreaming::RequestIslands(CGame::currLevel);
CStreaming::LoadAllRequestedModels(true);
@ -9013,7 +9013,7 @@ int8 CRunningScript::ProcessCommands1000To1099(int32 command)
}
case COMMAND_SET_MUSIC_DOES_FADE:
CollectParameters(&m_nIp, 1);
TheCamera.m_bMusicFading = (ScriptParams[0] == 0);
TheCamera.m_bIgnoreFadingStuffForMusic = (ScriptParams[0] == 0);
return 0;
case COMMAND_SET_INTRO_IS_PLAYING:
CollectParameters(&m_nIp, 1);
@ -9162,7 +9162,7 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command)
DMAudio.Service();
CPopulation::DealWithZoneChange(CCollision::ms_collisionInMemory, CGame::currLevel, false);
CStreaming::RemoveUnusedBigBuildings(CGame::currLevel);
CStreaming::RemoveIslandsNotUsed(CGame::currLevel);
CStreaming::RemoveUnusedBuildings(CGame::currLevel);
CCollision::SortOutCollisionAfterLoad();
CStreaming::RequestIslands(CGame::currLevel);
CStreaming::RequestBigBuildings(CGame::currLevel);