X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=sst.c;h=2dca29e412550cde4c44e2c0804f12f7a0b8110d;hb=e536fe754b3a9be00dcaee8f6ec50ea2d8c7a184;hp=65c79ac6c35e48618e8ae03acf5af0b9779bcf58;hpb=5db6160de8bad4de189d3b54dd54011260c7a34f;p=super-star-trek.git diff --git a/sst.c b/sst.c index 65c79ac..2dca29e 100644 --- a/sst.c +++ b/sst.c @@ -114,9 +114,7 @@ Eric Raymond's changes: 2. Status report now indicates when dilithium crystals are on board. - 3. Can now report starbases left in scrscan. - - 4. Per Dave Matuszek's remarks, Thingy state is not saved across games. + 3. Per Dave Matuszek's remarks, Thingy state is not saved across games. */ /* the input queue */ @@ -485,14 +483,14 @@ static void makemoves(void) events(); if (alldone) break; // Events did us in } - if (game.state.galaxy[quadx][quady] == SUPERNOVA_PLACE) { // Galaxy went Nova! + if (game.state.galaxy[quadx][quady].supernova) { // Galaxy went Nova! atover(0); continue; } if (hitme && justin==0) { attack(2); if (alldone) break; - if (game.state.galaxy[quadx][quady] == SUPERNOVA_PLACE) { // went NOVA! + if (game.state.galaxy[quadx][quady].supernova) { // went NOVA! atover(0); hitme = TRUE; continue;