Revert "Don't let trains load trains"
This reverts commitb1a0ff2fbd
. Land units with capability heavy can't be loaded on anything, and land units carrying land units can't be loaded regardless of capabilities. Commitb1a0ff2fbd
additionally outlawed loading of trains on land units, but not on ships. Bad idea, because it complicates matters for no good reason. Revert it. Doesn't affect the stock game, because its only train is heavy. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
85d8e7fcb1
commit
c931758307
2 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ the unit can fire 'general unit flak' (see "info Flak")
|
|||
.L spy
|
||||
the unit is a spy
|
||||
.L train
|
||||
the unit is a train, and can't be loaded on land units
|
||||
the unit is a train
|
||||
(see "info Railroad")
|
||||
.L heavy
|
||||
the unit cannot be carried on land units or ships, not even supply ships
|
||||
|
|
|
@ -912,7 +912,7 @@ load_land_land(struct sctstr *sectp, struct lndstr *lp, int noisy,
|
|||
pr("%s can't be loaded onto itself!\n", prland(&land));
|
||||
continue;
|
||||
}
|
||||
if (lchr[(int)land.lnd_type].l_flags & (L_HEAVY | L_TRAIN)) {
|
||||
if (lchr[(int)land.lnd_type].l_flags & L_HEAVY) {
|
||||
if (noisy)
|
||||
pr("%s is too heavy to load.\n", prland(&land));
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue