mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-19 07:57:39 +00:00
fixed Up/Down in shmup mode, also reversed Left/Right for intuitiveness
This commit is contained in:
@@ -726,7 +726,7 @@ void handleInput(int delta) {
|
|||||||
if(DIM == 2)
|
if(DIM == 2)
|
||||||
View = xpush(-panx) * ypush(-pany) * spin(panspin) * View;
|
View = xpush(-panx) * ypush(-pany) * spin(panspin) * View;
|
||||||
else
|
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;
|
playermoved = false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user