1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 09:17:57 +00:00

fixed shmup in euc_in_nil and euc_in_sl2

This commit is contained in:
Zeno Rogue
2023-01-07 22:51:46 +01:00
parent 8e49baef0e
commit 4351f99432
2 changed files with 9 additions and 4 deletions

View File

@@ -885,7 +885,7 @@ void movePlayer(monster *m, int delta) {
godir[cpid] = 0;
if(embedded_plane && vid.wall_height < 0) mdx = -mdx;
if(shmup_inverted()) mdx = -mdx;
if(WDIM == 2 && GDIM == 3 && (mdx || mdy)) {
double mdd = hypot(mdx, mdy);
@@ -936,7 +936,7 @@ void movePlayer(monster *m, int delta) {
}
#endif
if(embedded_plane && vid.wall_height < 0) playerturn[cpid] = -playerturn[cpid];
if(shmup_inverted()) playerturn[cpid] = -playerturn[cpid];
if(playerturn[cpid] && canmove && !blown && WDIM == 2) {
m->swordangle -= playerturn[cpid];