1
0
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:
Mathieu Schroeter 2018-02-05 23:20:19 +01:00
parent 883ab7ca19
commit 61a1ab65eb

View File

@ -4623,7 +4623,7 @@ CDecor::IsTerminated ()
m_pSound->PlayImage (SOUND_GOAL, pos);
m_winLastHachBlupi = m_nbStatHachBlupi;
if (m_nbStatHachBlupi < m_nbStatHach * 4)
if (m_nbStatHachBlupi < m_nbStatHach * m_term.nbMinBlupi)
return 0; // continue;
}