From 4bce84df4d1ab2bad471ea0a08d5f42d01cd5fd6 Mon Sep 17 00:00:00 2001 From: aap Date: Sat, 29 Jun 2019 11:57:47 +0200 Subject: missed two lines in CCollision --- src/Collision.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Collision.cpp b/src/Collision.cpp index c7593a04..6189a3fc 100644 --- a/src/Collision.cpp +++ b/src/Collision.cpp @@ -15,6 +15,7 @@ #include "Population.h" #include "FileLoader.h" #include "Replay.h" +#include "CutsceneMgr.h" #include "RenderBuffer.h" #include "SurfaceTable.h" #include "Collision.h" @@ -53,6 +54,9 @@ CCollision::Update(void) eLevelName level = CTheZones::m_CurrLevel; bool forceLevelChange = false; + if(CTimer::GetTimeInMilliseconds() < 2000 || CCutsceneMgr::IsCutsceneProcessing()) + return; + // hardcode a level if there are no zones if(level == LEVEL_NONE){ if(CGame::currLevel == LEVEL_INDUSTRIAL && -- cgit v1.2.3