mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-05-31 18:02:10 +00:00
3d:: horohex geometry
This commit is contained in:
@@ -2463,6 +2463,7 @@ void setdist(cell *c, int d, cell *from) {
|
||||
ld z = vid.binary_width;
|
||||
cell *cseek = c;
|
||||
int step = 0;
|
||||
if(geometry == gHoroHex) z *= 2;
|
||||
while(z < 3.999 && step < 10) cseek = cseek->cmove(S7-1), z *= 2;
|
||||
if(cseek->master->emeraldval) setland(c, eLand(cseek->master->emeraldval));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user