mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Walk for bulding a wall or a tower must not reduce the life quickly
The problem appears when Blupi is far of the stones. When the action is building a wall or a tower, the life when walking was reducing very quickly and it makes no sense in this case.
This commit is contained in:
parent
bf649cb202
commit
4072c534ff
@ -2548,8 +2548,9 @@ bool CDecor::BlupiNextAction (Sint32 rank)
|
||||
a = 1;
|
||||
min = 0;
|
||||
if (
|
||||
m_blupi[rank].goalAction == EV_ACTION_WALL ||
|
||||
m_blupi[rank].goalAction == EV_ACTION_TOWER)
|
||||
m_blupi[rank].action != ACTION_MARCHE &&
|
||||
(m_blupi[rank].goalAction == EV_ACTION_WALL ||
|
||||
m_blupi[rank].goalAction == EV_ACTION_TOWER))
|
||||
{
|
||||
a = 5;
|
||||
min = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user