(prod_plane): Simplify test for moving satellite.
This commit is contained in:
parent
a50ae4a3d8
commit
85e7e3c9d4
1 changed files with 4 additions and 8 deletions
|
@ -90,15 +90,11 @@ prod_plane(int etus, int natnum, int *bp, int buildem)
|
||||||
}
|
}
|
||||||
|
|
||||||
plp = &plchr[(int)pp->pln_type];
|
plp = &plchr[(int)pp->pln_type];
|
||||||
|
|
||||||
if (pp->pln_flags & PLN_LAUNCHED) {
|
if (pp->pln_flags & PLN_LAUNCHED) {
|
||||||
if (buildem == 0) {
|
if (!player->simulation && buildem == 0
|
||||||
if ((!player->simulation) &&
|
&& !(pp->pln_flags & PLN_SYNCHRONOUS))
|
||||||
(plp->pl_flags & P_O) &&
|
move_sat(pp);
|
||||||
(pp->pln_flags & PLN_LAUNCHED) &&
|
|
||||||
!(plp->pl_flags & P_M) &&
|
|
||||||
!(pp->pln_flags & PLN_SYNCHRONOUS))
|
|
||||||
move_sat(pp);
|
|
||||||
}
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue