Rewrite to get ride of FORTRANish galaxy and newstuff arrays. It's
[super-star-trek.git] / planets.c
index 69ca3271c2e32ae9e4b35dd518384e8b5538b2b6..057fb84dbd1cd3bdd0af04efb5c707e12dda6ef4 100644 (file)
--- a/planets.c
+++ b/planets.c
@@ -23,7 +23,7 @@ static int consumeTime(void)
     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;
 }