mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-23 04:24:04 +00:00
fixed centering lost after Eternal Motion in shmup
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user