Hide some differences between 0-origin and 1-origin addressing.
[super-star-trek.git] / planets.c
index 5cf8965784186dab691972d1ad5dff1f73fa7d1a..87ca4add8f14c365e53f39819d32798130c20f6d 100644 (file)
--- a/planets.c
+++ b/planets.c
@@ -482,8 +482,8 @@ void deathray(void)
        proutn("Spock-  \"I believe the word is");
        prouts(" *ASTONISHING*");
        prout(" Mr. Sulu.");
-       for (i=1; i<=QUADSIZE; i++)
-           for (j=1; j<=QUADSIZE; j++)
+       for_sectors(i)
+           for_sectors(j)
                if (game.quad[i][j] == IHDOT) game.quad[i][j] = IHQUEST;
        prout("  Captain, our quadrant is now infested with");
        prouts(" - - - - - -  *THINGS*.");