missed two lines in CCollision

This commit is contained in:
aap 2019-06-29 11:57:47 +02:00
parent 9b689a1e6a
commit 4bce84df4d

View File

@ -15,6 +15,7 @@
#include "Population.h" #include "Population.h"
#include "FileLoader.h" #include "FileLoader.h"
#include "Replay.h" #include "Replay.h"
#include "CutsceneMgr.h"
#include "RenderBuffer.h" #include "RenderBuffer.h"
#include "SurfaceTable.h" #include "SurfaceTable.h"
#include "Collision.h" #include "Collision.h"
@ -53,6 +54,9 @@ CCollision::Update(void)
eLevelName level = CTheZones::m_CurrLevel; eLevelName level = CTheZones::m_CurrLevel;
bool forceLevelChange = false; bool forceLevelChange = false;
if(CTimer::GetTimeInMilliseconds() < 2000 || CCutsceneMgr::IsCutsceneProcessing())
return;
// hardcode a level if there are no zones // hardcode a level if there are no zones
if(level == LEVEL_NONE){ if(level == LEVEL_NONE){
if(CGame::currLevel == LEVEL_INDUSTRIAL && if(CGame::currLevel == LEVEL_INDUSTRIAL &&