load lload: Refuse to load satellites in space
Doesn't affect the stock game, because none of its satellites are light, let alone x-light. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
6ce25bdd4f
commit
b109430b8c
1 changed files with 5 additions and 0 deletions
|
@ -386,6 +386,11 @@ plane_loadable(struct plnstr *pp, int noisy)
|
||||||
prplane(pp));
|
prplane(pp));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
if (pln_is_in_orbit(pp)) {
|
||||||
|
if (noisy)
|
||||||
|
pr("%s is in space\n", prplane(pp));
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue