Don't let trains load trains
Doesn't affect the stock game, because its only train is heavy.
This commit is contained in:
parent
aab015c641
commit
b1a0ff2fbd
2 changed files with 2 additions and 2 deletions
|
@ -985,7 +985,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) {
|
||||
if (lchr[(int)land.lnd_type].l_flags & (L_HEAVY | L_TRAIN)) {
|
||||
if (noisy)
|
||||
pr("%s is too heavy to load.\n", prland(&land));
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue