mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Fix mission stripped paving stones goal when there are less or more than 4 blupi
The minimal number of blupi must be used instead of 4. - It fixes issue #51.
This commit is contained in:
parent
883ab7ca19
commit
61a1ab65eb
@ -4623,7 +4623,7 @@ CDecor::IsTerminated ()
|
|||||||
m_pSound->PlayImage (SOUND_GOAL, pos);
|
m_pSound->PlayImage (SOUND_GOAL, pos);
|
||||||
m_winLastHachBlupi = m_nbStatHachBlupi;
|
m_winLastHachBlupi = m_nbStatHachBlupi;
|
||||||
|
|
||||||
if (m_nbStatHachBlupi < m_nbStatHach * 4)
|
if (m_nbStatHachBlupi < m_nbStatHach * m_term.nbMinBlupi)
|
||||||
return 0; // continue;
|
return 0; // continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user