3d:: fixed a bug in centerpc

This commit is contained in:
? authored and Zeno Rogue committed 2019-09-12 22:38:40 +02:00
1 parent f68ff9de73
commit 051055922b
1 file changed
+1
+1
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