mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-07 09:44:08 +00:00
fixed in_underlying_map not geometry in optimizeview()
This commit is contained in:
parent
8e943486d9
commit
64d0742343
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user