Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Bug #848658 ยป 0002-Make-exit-transport-requirements-consistent.patch

Sveinung Kvilhaugsvik, 2019-11-22 08:20 AM

View differences:

common/actions.c
/* Keep the old rules about Unreachable and disembarks. */
return TRI_NO;
}
if (!can_unit_survive_at_tile(&(wld.map), actor_unit, actor_tile)) {
/* Keep the old rules. */
return TRI_NO;
}
break;
case ACTION_TRANSPORT_UNLOAD:
......
/* Keep the old rules about Unreachable and disembarks. */
return TRI_NO;
}
if (!can_unit_survive_at_tile(&(wld.map), target_unit, target_tile)) {
/* Keep the old rules. */
return TRI_NO;
}
break;
case ACTION_SPY_INVESTIGATE_CITY:
doc/README.actions
* actor must be on the same tile as the target
* actor must be transported (!)
* actor must be on a livable tile (!)
* actor must be at a tile with a city or a refuel extra if it uses fuel or
is loosing hp
* target must be transporting (!)
* target must be in a city or in a native base if the target's unit class
has the Unreachable unit class flag and the actor's unit type doesn't
......
list the actor's unit class in disembarks.
* target must be transported (!)
* target must be on a livable tile (!)
* target must be at a tile with a city or a refuel extra if it uses fuel or
is loosing hp
* target must be visible for the actor.
Actions done by a unit against all units at a tile
    (1-1/1)