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:
parent
41be224049
commit
b31e0db6df
@ -1373,6 +1373,10 @@ EX void centerpc(ld aspd) {
|
|||||||
|
|
||||||
else {
|
else {
|
||||||
aspd *= euclid ? (2+3*R*R) : (1+R+(shmup::on?1:0));
|
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)
|
if(R < aspd)
|
||||||
shift_view_to(H);
|
shift_view_to(H);
|
||||||
|
Loading…
Reference in New Issue
Block a user