events(); /* Used to avoid if future[FSCMOVE] within time */
// future[FSNOVA] = asave;
/*fails if game over, quadrant super-novas or we've moved to new quadrant*/
- if (alldone || game.state.galaxy[quadx][quady] == SUPERNOVA_PLACE || justin != 0) return 1;
+ if (alldone || game.state.galaxy[quadx][quady].supernova || justin != 0) return 1;
return 0;
}
ididit=1;
}
-void sensor(void)
+void sensor(int force)
{
skip(1);
chew();
prout("Short range sensors damaged.");
return;
}
- if (plnetx == 0) {
+ if (!plnetx && ((game.state.plnets[iplnet].known == unknown || force))) {
prout("Spock- \"No planet in this quadrant, Captain.\"");
return;
}
- if ((plnetx != 0)&&(game.state.plnets[iplnet].known == 0)) {
+ if ((plnetx != 0)&&(game.state.plnets[iplnet].known == unknown)) {
prout("Spock- \"Sensor scan for %s-", cramlc(quadrant, quadx, quady));
skip(1);
prout(" Planet at %s is of class %s.",
skip(1);
prout("Lt. Uhura- \"Graaeek! Graaeek!\"");
skip(1);
- prout("Spock- \"Facinating! . . . All humans aboard");
+ prout("Spock- \"Fascinating! . . . All humans aboard");
prout(" have apparently been transformed into strange mutations.");
prout(" Vulcans do not seem to be affected.");
skip(1);