mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
3D:: no more autocentering if vid.sspeed <= -5
This commit is contained in:
parent
9b968e648b
commit
85cb1bbb11
@ -1039,7 +1039,7 @@ void centerpc(ld aspd) {
|
||||
crystal::centerrug(aspd);
|
||||
#endif
|
||||
|
||||
if(shmup::on && DIM == 3) {
|
||||
if(shmup::on && DIM == 3 && vid.sspeed > -5) {
|
||||
transmatrix at = cpush(2, -vid.yshift) * ggmatrix(shmup::pc[0]->base) * shmup::pc[0]->at;
|
||||
View = inverse(at) * View;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user