1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00

fixed Up/Down in shmup mode, also reversed Left/Right for intuitiveness

This commit is contained in:
Zeno Rogue 2019-06-25 10:31:40 +02:00
parent 25999229a4
commit 9d93da1472

View File

@ -726,7 +726,7 @@ void handleInput(int delta) {
if(DIM == 2)
View = xpush(-panx) * ypush(-pany) * spin(panspin) * View;
else
View = cspin(0, 2, panx*2) * cspin(0, 1, pany*2) * spin(panspin) * cpush(2, panmove*2) * View;
View = cspin(0, 2, -panx*2) * cspin(1, 2, -pany*2) * spin(panspin) * cpush(2, panmove*2) * View;
playermoved = false;
}
#endif