mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Ensure that the master robot can always make it works
This commit is contained in:
parent
fc01379290
commit
9e8fbc01ba
@ -3182,11 +3182,11 @@ goal:
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
BlupiInitAction (rank, ACTION_STOP);
|
|
||||||
if (
|
if (
|
||||||
m_blupi[rank].perso == 0 || // blupi ?
|
m_blupi[rank].perso == 0 || // blupi ?
|
||||||
m_blupi[rank].perso == 8) // disciple ?
|
m_blupi[rank].perso == 8) // disciple ?
|
||||||
{
|
{
|
||||||
|
BlupiInitAction (rank, ACTION_STOP);
|
||||||
if (m_blupi[rank].busyCount == 0) // dernière tentative ?
|
if (m_blupi[rank].busyCount == 0) // dernière tentative ?
|
||||||
{
|
{
|
||||||
GoalStop (rank, true);
|
GoalStop (rank, true);
|
||||||
@ -3195,9 +3195,12 @@ goal:
|
|||||||
m_blupi[rank].interrupt = 1;
|
m_blupi[rank].interrupt = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (!g_restoreBugs && m_blupi[rank].perso == 4) // master robot
|
||||||
|
BlupiInitAction (rank, action);
|
||||||
else // perso ennemi ?
|
else // perso ennemi ?
|
||||||
{
|
{
|
||||||
// On cherchera un autre but !
|
// On cherchera un autre but !
|
||||||
|
BlupiInitAction (rank, ACTION_STOP);
|
||||||
GoalStop (rank, true);
|
GoalStop (rank, true);
|
||||||
//? m_blupi[rank].goalCel.x = -1;
|
//? m_blupi[rank].goalCel.x = -1;
|
||||||
//? m_blupi[rank].goalPhase = 0;
|
//? m_blupi[rank].goalPhase = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user