}
}
- for (i = 0; i < nc; ++i, xx += 2) {
+ for (i = 0; i < nc; ++i) {
if (xx >= WORLD_X) {
++yy;
xx = yy % 2;
}
capx[i] = xx;
capy[i] = yy;
+ xx += 2;
}
for (i = 0; i < STABLE_CYCLE; ++i)
mc[i] = i;
/* sct = §s[0][0]; */
sct = sectsbuf;
for (y = 0; y < YSIZE; y++) {
- for (x = 0; x < XSIZE; x++, sct++) {
+ for (x = 0; x < XSIZE; x++) {
fl_sct_init(x * 2 + (y & 1), y, sct);
total = elev[sct->sct_x][y];
if (total < LANDMIN) {
sct->sct_newtype = sct->sct_type;
if (ORE)
add_resources(sct);
+ sct++;
}
}
if (AIRPORT_MARKER)