From e2ac1d96c537f8697237b36ee23f4435b4d81e71 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Fri, 16 Mar 2018 11:49:23 +0100 Subject: [PATCH] Does not check for world files with private missions --- src/event.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/event.cxx b/src/event.cxx index e36439a..1a36d28 100644 --- a/src/event.cxx +++ b/src/event.cxx @@ -3451,7 +3451,8 @@ CEvent::ChangePhase (Uint32 phase) if ( (m_bPrivate && GetPhysicalWorld () - 200 == MAX_PRIVATE_MISSIONS - 1) || - (m_pDecor->FileExist (GetPhysicalWorld (), false, world, time, total) && + (!m_bPrivate && + m_pDecor->FileExist (GetPhysicalWorld (), false, world, time, total) && !m_pDecor->FileExist ( GetPhysicalWorld () + 1, false, world, time, total))) m_phaseAfterMovie = EV_PHASE_LASTWIN;