X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=reports.c;fp=reports.c;h=f71b8c50350d664b5c60cc8048225b53964d2a5a;hb=f972ad4a9a237ecae732391e0c37345fdfb9acea;hp=4c3fd33c896b94eef7cb4063b53c6a3db5437301;hpb=d7ddf0df59133fd0ff3f49d0ed83079e3a695aeb;p=super-star-trek.git diff --git a/reports.c b/reports.c index 4c3fd33..f71b8c5 100644 --- a/reports.c +++ b/reports.c @@ -257,11 +257,11 @@ int srscan(int l) { break; } if (condit != IHDOCKED) newcnd(); - for (i = 1; i <= 10; i++) { + for (i = 1; i <= QUADSIZE; i++) { jj = (k!=0 ? k : i); if (leftside) { proutn("%2d ", i); - for (j = 1; j <= 10; j++) { + for (j = 1; j <= QUADSIZE; j++) { if (goodScan || (abs(i-sectx)<= 1 && abs(j-secty) <= 1)){ if ((game.quad[i][j]==IHMATER0)||(game.quad[i][j]==IHMATER1)||(game.quad[i][j]==IHMATER2)||(game.quad[i][j]==IHE)||(game.quad[i][j]==IHF)){ switch (condit) {