From b82a0a8dba503c1717a4ac6d341ad66bdae1ae00 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 26 Aug 2019 09:38:11 +0200 Subject: [PATCH] shmup:: fixed the keyboard rotation direction inconsistency in 3D --- shmup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shmup.cpp b/shmup.cpp index 6116dac2..f4b0a648 100644 --- a/shmup.cpp +++ b/shmup.cpp @@ -886,8 +886,8 @@ void movePlayer(monster *m, int delta) { playergo[cpid] = -mdy * SCALE * delta / 600; playerstrafe[cpid] = mdx * SCALE * delta / 600; } - playerturn[cpid] = mgo * SCALE * delta / 200; - playerturny[cpid] = mturn * SCALE * delta / 200; + playerturn[cpid] = -mturn * SCALE * delta / 200; + playerturny[cpid] = -mgo * SCALE * delta / 200; #if CAP_MOUSEGRAB if(!lctrlclick && cpid == 0) {