3. Can now report starbases left in scrscan.
+ 4. Per Dave Matuszek's remarks, Thingy state is not saved across games.
*/
/* the input queue */
proutn("Reset damage? ");
if (ja() != 0) {
int i;
- for (i=0; i <= NDEVICES; i++)
+ for (i=0; i < NDEVICES; i++)
if (game.damage[i] > 0.0)
game.damage[i] = 0.0;
stdamtim = 1e30;
proutn("Cause selective damage? ");
if (ja() != 0) {
int i, key;
- for (i=1; i <= NDEVICES; i++) {
+ for (i=0; i < NDEVICES; i++) {
proutn("Kill ");
proutn(device[i]);
proutn("? ");