mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
shmup:: fixed the keyboard rotation direction inconsistency in 3D
This commit is contained in:
parent
c5fe3b38d3
commit
b82a0a8dba
@ -886,8 +886,8 @@ void movePlayer(monster *m, int delta) {
|
|||||||
playergo[cpid] = -mdy * SCALE * delta / 600;
|
playergo[cpid] = -mdy * SCALE * delta / 600;
|
||||||
playerstrafe[cpid] = mdx * SCALE * delta / 600;
|
playerstrafe[cpid] = mdx * SCALE * delta / 600;
|
||||||
}
|
}
|
||||||
playerturn[cpid] = mgo * SCALE * delta / 200;
|
playerturn[cpid] = -mturn * SCALE * delta / 200;
|
||||||
playerturny[cpid] = mturn * SCALE * delta / 200;
|
playerturny[cpid] = -mgo * SCALE * delta / 200;
|
||||||
|
|
||||||
#if CAP_MOUSEGRAB
|
#if CAP_MOUSEGRAB
|
||||||
if(!lctrlclick && cpid == 0) {
|
if(!lctrlclick && cpid == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user