From 322d808fe788bde6bc8fedec17a8eb676c836d2f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 24 Feb 2025 12:02:21 +0100 Subject: [PATCH] one more fix to the compilation on Clang --- multi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multi.cpp b/multi.cpp index 39078457..8b006f8a 100644 --- a/multi.cpp +++ b/multi.cpp @@ -1029,10 +1029,10 @@ EX void handleInput(int delta, config &scfg) { double mdx = (act[0].held + act[2].held - act[1].held - act[3].held) * .7 + - act[pcMoveRight] - act[pcMoveLeft] + axes[0]/30000.; + act[pcMoveRight].held - act[pcMoveLeft].held + axes[0]/30000.; double mdy = (act[3].held + act[2].held - act[1].held - act[0].held) * .7 + - act[pcMoveDown] - act[pcMoveUp] + axes[1]/30000.; + act[pcMoveDown].held - act[pcMoveUp].held + axes[1]/30000.; if((act[pcMoveRight] && act[pcMoveLeft]) || (act[pcMoveUp] && act[pcMoveDown]))