mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-10 06:16:00 +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)
|
||||
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
|
||||
|
Reference in New Issue
Block a user