(ORBIT, opt_ORBIT, Options, launch_sat, pdump, plan, prod_plane):
Remove nooption ORBIT.
This commit is contained in:
parent
a2284aac8d
commit
46608d6c83
7 changed files with 15 additions and 36 deletions
|
@ -402,18 +402,15 @@ launch_sat(struct plnstr *pp, int sublaunch)
|
|||
}
|
||||
break;
|
||||
}
|
||||
if (opt_ORBIT) {
|
||||
p = getstring("Geostationary orbit? ", buf);
|
||||
if (p == 0)
|
||||
return -1;
|
||||
if (!check_plane_ok(pp))
|
||||
return -1;
|
||||
pp->pln_theta = 0;
|
||||
pp->pln_flags |= PLN_SYNCHRONOUS;
|
||||
if (*p == 0 || *p == 'n')
|
||||
pp->pln_flags &= ~(PLN_SYNCHRONOUS);
|
||||
}
|
||||
/* end opt_ORBIT */
|
||||
p = getstring("Geostationary orbit? ", buf);
|
||||
if (p == 0)
|
||||
return -1;
|
||||
if (!check_plane_ok(pp))
|
||||
return -1;
|
||||
pp->pln_theta = 0;
|
||||
pp->pln_flags |= PLN_SYNCHRONOUS;
|
||||
if (*p == 0 || *p == 'n')
|
||||
pp->pln_flags &= ~(PLN_SYNCHRONOUS);
|
||||
pr("3... 2... 1... Blastoff!!!\n");
|
||||
if (chance(0.07 + (100 - pp->pln_effic) / 100.0)) {
|
||||
pr("KABOOOOM! Range safety officer detonates booster!\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue