X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=planets.c;fp=planets.c;h=322fb1e79bc3d296abb6e23e3641a2124e40f496;hp=35ccec7550e1cea3585ce59e10900e7e1af2f3cb;hb=d7ddf0df59133fd0ff3f49d0ed83079e3a695aeb;hpb=50d43451314c229e511b46b69e7ca878ff9a0930 diff --git a/planets.c b/planets.c index 35ccec7..322fb1e 100644 --- a/planets.c +++ b/planets.c @@ -476,8 +476,8 @@ void deathray(void) { proutn("Spock- \"I believe the word is"); prouts(" *ASTONISHING*"); prout(" Mr. Sulu."); - for (i=1; i<=10; i++) - for (j=1; j<=10; 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"); prouts(" - - - - - - *THINGS*.");