diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-10 10:23:35 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-10 10:23:35 +0200 |
commit | 8917567508f1c98ba96579fdc0516cd07902c74d (patch) | |
tree | ec7078b2f0bbf736570f5a78e8db66a2a114f244 /src/control/CarGen.cpp | |
parent | Fix sprite vertical scale (diff) | |
download | re3-8917567508f1c98ba96579fdc0516cd07902c74d.tar re3-8917567508f1c98ba96579fdc0516cd07902c74d.tar.gz re3-8917567508f1c98ba96579fdc0516cd07902c74d.tar.bz2 re3-8917567508f1c98ba96579fdc0516cd07902c74d.tar.lz re3-8917567508f1c98ba96579fdc0516cd07902c74d.tar.xz re3-8917567508f1c98ba96579fdc0516cd07902c74d.tar.zst re3-8917567508f1c98ba96579fdc0516cd07902c74d.zip |
Diffstat (limited to 'src/control/CarGen.cpp')
-rw-r--r-- | src/control/CarGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/CarGen.cpp b/src/control/CarGen.cpp index 49a96f50..721ac35a 100644 --- a/src/control/CarGen.cpp +++ b/src/control/CarGen.cpp @@ -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; |