(prod_plane): Simplify test for moving satellite.

This commit is contained in:
Markus Armbruster 2006-05-14 17:40:00 +00:00
parent a50ae4a3d8
commit 85e7e3c9d4

View file

@ -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;
} }