1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

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

View File

@ -1374,6 +1374,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);
else