fixed centering lost after Eternal Motion in shmup

This commit is contained in:
Zeno Rogue 2020-03-08 01:24:34 +01:00
parent 41be224049
commit b31e0db6df
1 changed files with 4 additions and 0 deletions

View File

@ -1373,6 +1373,10 @@ EX void centerpc(ld aspd) {
else {
aspd *= euclid ? (2+3*R*R) : (1+R+(shmup::on?1:0));
if(R < aspd && gmatrix.count(cwt.at) && eqmatrix(gmatrix[cwt.at], current_display->which_copy)) {
current_display->which_copy = gmatrix[cwt.at];
}
if(R < aspd)
shift_view_to(H);