mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-04 02:32:51 +00:00
fixed centering lost after Eternal Motion in shmup
This commit is contained in:
parent
41be224049
commit
b31e0db6df
@ -1374,6 +1374,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);
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user