3d:: fixed a bug in centerpc

This commit is contained in:
? 2019-02-25 18:23:23 +01:00 committed by Zeno Rogue
parent f68ff9de73
commit 051055922b
1 changed files with 1 additions and 0 deletions

View File

@ -1042,6 +1042,7 @@ void centerpc(ld aspd) {
if(shmup::on && DIM == 3) {
transmatrix at = cpush(2, -vid.yshift) * ggmatrix(shmup::pc[0]->base) * shmup::pc[0]->at;
View = inverse(at) * View;
return;
}
#if CAP_RACING