mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-28 03:24:30 +00:00
fixed bugs when switching FPP in E2 torus
This commit is contained in:
1 parent
c57566f9da
commit
de498da1d1
4 files changed
+17
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user