mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Prevent time bom duplication
it fixes issue https://github.com/blupi-games/planetblupi/issues/82
This commit is contained in:
parent
3f63af434e
commit
f07d064cc9
@ -2496,6 +2496,14 @@ CDecor::BlupiNextAction (Sint32 rank)
|
|||||||
GoalStop (i, true);
|
GoalStop (i, true);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Prevent time bomb duplication */
|
||||||
|
if (m_blupi[i].goalAction == EV_ACTION_MINE2)
|
||||||
|
{
|
||||||
|
BlupiInitAction (rank, ACTION_STOP);
|
||||||
|
GoalStop (rank, true);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Prevent Blupi to take a trap when an enemy is already captured. */
|
/* Prevent Blupi to take a trap when an enemy is already captured. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user