1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 02:07:57 +00:00

fixed on older compiler

This commit is contained in:
Zeno Rogue
2024-03-24 11:36:22 +01:00
parent deb207e4c3
commit 886a7ff43e
2 changed files with 3 additions and 3 deletions

View File

@@ -2926,7 +2926,7 @@ EX void set_land_for_geometry(cell *c) {
if(sh * 2 < ld * 3) a[i] = gdiv(a[i], ld2)*2+1;
else a[i] = gdiv(a[i]+ld, ld2)*2;
}
eLand& l = landscape_lands[{a[0], a[1], a[2]}];
eLand& l = landscape_lands[make_array(a[0], a[1], a[2])];
if(l == laNone) l = random_land();
setland(c, l);
return;