mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
fixed in_underlying_map not geometry in optimizeview()
This commit is contained in:
1 parent
8e943486d9
commit
64d0742343
1 file changed
+1
-1
+1
-1
@@ -1378,7 +1378,7 @@ EX void optimizeview() {
|
||||
if(prod) {
|
||||
ld z = zlevel(tC0(View));
|
||||
View = mscale(View, -z);
|
||||
product::in_underlying_geometry(optimizeview);
|
||||
product::in_underlying_map(optimizeview);
|
||||
if(z > product::plevel / 2) { product::current_view_level--; z -= product::plevel; }
|
||||
if(z < -product::plevel / 2) { product::current_view_level++; z += product::plevel; }
|
||||
View = mscale(View, z);
|
||||
|
||||
Reference in new issue
Block a user