From 9dd26c8196a1003170c6539b67bbcce83bbf3755 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 27 Sep 2020 16:30:06 +0200 Subject: [PATCH] - fixed explosion distance of Hexen Cleric's firestorm weapon. --- source/common/platform/posix/sdl/i_input.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source/common/platform/posix/sdl/i_input.cpp b/source/common/platform/posix/sdl/i_input.cpp index 63bf4b638..4bd576ef4 100644 --- a/source/common/platform/posix/sdl/i_input.cpp +++ b/source/common/platform/posix/sdl/i_input.cpp @@ -225,10 +225,14 @@ static void MouseRead () } SDL_GetRelativeMouseState (&x, &y); - + if (!m_noprescale) + { + x *= 3; + y *= 2; + } if (x | y) { - PostMouseMove (m_noprescale ? x : x << 2, -y); + PostMouseMove (x, -y); } }