1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-15 06:17:38 +00:00

fake curvature

This commit is contained in:
Zeno Rogue
2020-05-15 11:46:26 +02:00
parent a5a49ce5c9
commit 1b96658a05
15 changed files with 434 additions and 11 deletions

View File

@@ -2755,6 +2755,8 @@ EX void set_land_for_geometry(cell *c) {
}
EX void setdist(cell *c, int d, cell *from) {
if(fake::in()) return FPIU(setdist(c, d, from));
if(c->mpdist <= d) return;
if(c->mpdist > d+1 && d < BARLEV) setdist(c, d+1, from);