finish(FDEPLETE);
return;
}
+ /* Any crew left alive? */
+ if (game.state.crew <=0) {
+ finish(FCREW);
+ return;
+ }
/* Is life support adequate? */
if (damaged(DLIFSUP) && game.condit != IHDOCKED) {
if (game.lsupres < xtime && game.damage[DLIFSUP] > game.lsupres) {
prout(_(" surveillance reports are coming in."));
skip(1);
if (game.iseenit==0) {
- attakreport(0);
+ attakreport(false);
game.iseenit = 1;
}
rechart();
crmshp();
prout(_(" caught in long range tractor beam--"));
/* If Kirk & Co. screwing around on planet, handle */
- atover(1); /* atover(1) is Grab */
+ atover(true); /* atover(true) is Grab */
if (game.alldone) return;
if (game.icraft == 1) { /* Caught in Galileo? */
finish(FSTRACTOR);
}
else prout(_("(Shields not currently useable.)"));
}
- newqad(0);
+ newqad(false);
/* Adjust finish time to time of tractor beaming */
fintim = game.state.date+game.optime;
attack(0);