1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-04 03:27:55 +00:00

refactored the vertical movement functions

This commit is contained in:
Zeno Rogue
2022-12-06 01:04:26 +01:00
parent adfab30c62
commit bf001926c2
12 changed files with 210 additions and 181 deletions

View File

@@ -1356,7 +1356,7 @@ EX namespace dice {
h = zpush(-z) * h;
h[2] = h[3]; h[3] = 0;
dynamicval<eGeometry> g(geometry, orig);
return zshift(h, geom3::scale_at_lev(z));
return orthogonal_move(h, z);
};
for(int d=0; d<=si; d++) {