fixed bugs when switching FPP in E2 torus

This commit is contained in:
Zeno Rogue committed 2021-02-07 22:55:11 +01:00
1 parent c57566f9da
commit de498da1d1
4 files changed
+17 -4

No files matched your search

+2
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