Fixing mixed IsCutsceneProcessing and IsRunning

This commit is contained in:
Sergeanur
2020-04-10 11:23:35 +03:00
parent 6647312660
commit 8917567508
6 changed files with 5 additions and 5 deletions

View File

@@ -242,7 +242,7 @@ void CCarGenerator::Load(uint8 *&buffer)
void CTheCarGenerators::Process()
{
if (FindPlayerTrain() || CCutsceneMgr::IsRunning())
if (FindPlayerTrain() || CCutsceneMgr::IsCutsceneProcessing())
return;
if (++CTheCarGenerators::ProcessCounter == 4)
CTheCarGenerators::ProcessCounter = 0;