1
0
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:
Zeno Rogue 2019-08-26 09:38:11 +02:00
parent c5fe3b38d3
commit b82a0a8dba

View File

@ -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) {