X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=sst.c;h=65c79ac6c35e48618e8ae03acf5af0b9779bcf58;hb=5db6160de8bad4de189d3b54dd54011260c7a34f;hp=dd73713dc7a3d1ac8a56cff1d8b5b0d7d35a7893;hpb=79896d464e17c2bbae8b46e808c0998ea4abb8b9;p=super-star-trek.git diff --git a/sst.c b/sst.c index dd73713..65c79ac 100644 --- a/sst.c +++ b/sst.c @@ -116,6 +116,7 @@ Eric Raymond's changes: 3. Can now report starbases left in scrscan. + 4. Per Dave Matuszek's remarks, Thingy state is not saved across games. */ /* the input queue */ @@ -748,7 +749,7 @@ void debugme(void) 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; @@ -762,7 +763,7 @@ void debugme(void) 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("? ");