Get rid of the iterator macros I wrote.
[super-star-trek.git] / src / planets.c
index 215a50c49e549388b46eb819704cb58ac1341d94..5f31e5de8dcb809b865d47bf1d19fa7c8b4d6338 100644 (file)
@@ -12,7 +12,7 @@ static bool consumeTime(void)
     return false;
 }
 
-void preport(void) 
+void survey(void) 
 /* report on (uninhabited) planets in the galaxy */
 {
     bool iknow = false;
@@ -499,8 +499,8 @@ void deathray(void)
        proutn(_("Spock-  \"I believe the word is"));
        prouts(_(" *ASTONISHING*"));
        prout(_(" Mr. Sulu."));
-       for_sectors(i)
-           for_sectors(j)
+       for (i = 1; i <= QUADSIZE; i++)
+           for (j = 1; j <= QUADSIZE; j++)
                if (game.quad[i][j] == IHDOT)
                    game.quad[i][j] = IHQUEST;
        prout(_("  Captain, our quadrant is now infested with"));