1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-31 22:12:59 +00:00

fixed bugs when switching FPP in E2 torus

This commit is contained in:
Zeno Rogue
2021-02-06 12:25:30 +01:00
parent c57566f9da
commit de498da1d1
4 changed files with 17 additions and 4 deletions

View File

@@ -975,6 +975,7 @@ EX void switch_always3() {
if(pmodel == mdDisk) pmodel = mdPerspective;
swapmatrix(View);
callhooks(hooks_swapdim);
for(auto m: allmaps) m->on_dim_change();
if(cgflags & qIDEAL && vid.texture_step < 32)
vid.texture_step = 32;
#if CAP_RACING
@@ -991,6 +992,7 @@ EX void switch_always3() {
if(pmodel == mdPerspective) pmodel = mdDisk;
swapmatrix(View);
callhooks(hooks_swapdim);
for(auto m: allmaps) m->on_dim_change();
}
View = models::rotmatrix() * View;
#endif