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...*

Feature #875245 ยป 0013-Separate-Load-from-enter-city.patch

Sveinung Kvilhaugsvik, 2020-05-27 12:12 PM

View differences:

common/map.c
return SINGLE_MOVE;
} else if (!is_native_tile_to_class(pclass, t2)) {
/* Loading to transport or entering port.
* UTYF_IGTER units get move benefit. */
return (utype_has_flag(punittype, UTYF_IGTER)
? MOVE_COST_IGTER : SINGLE_MOVE);
if (tile_city(t2) == NULL) {
/* Loading to transport. */
/* UTYF_IGTER units get move benefit. */
return (utype_has_flag(punittype, UTYF_IGTER)
? MOVE_COST_IGTER : SINGLE_MOVE);
} else {
/* Entering port. (Could be "Conquer City") */
/* UTYF_IGTER units get move benefit. */
return (utype_has_flag(punittype, UTYF_IGTER)
? MOVE_COST_IGTER : SINGLE_MOVE);
}
} else if (!is_native_tile_to_class(pclass, t1)) {
if (tile_city(t1) == NULL) {
    (1-1/1)