1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-21 16:19:43 +00:00

shmup should work in euc_in_product

This commit is contained in:
Zeno Rogue
2023-01-07 22:19:31 +01:00
parent 6d0c0daa40
commit 8e49baef0e
3 changed files with 11 additions and 3 deletions

View File

@@ -2078,7 +2078,10 @@ EX void centerpc(ld aspd) {
if(gproduct) NLP = ortho_inverse(pc->ori);
if(WDIM == 2) {
if(vid.wall_height < 0) rotate_view(cspin180(2, 1));
rotate_view( cspin(2, 1, -90._deg - shmup::playerturny[id]) * default_spin());
if(gproduct)
rotate_view( cspin(2, 1, -90._deg - shmup::playerturny[id]) * cspin90(0, 1));
else
rotate_view( cspin(2, 1, -90._deg - shmup::playerturny[id]) * default_spin());
}
return;
}