1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Does not check for world files with private missions

This commit is contained in:
Mathieu Schroeter 2018-03-16 11:49:23 +01:00
parent ef362c8b37
commit e2ac1d96c5

View File

@ -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;