[Scummvm-git-logs] scummvm master -> c2fe446cf292e0f21f449b2e26768624626c8ad0

lephilousophe noreply at scummvm.org
Sun Jun 4 13:48:23 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c2fe446cf2 FREESCAPE: Fix typo


Commit: c2fe446cf292e0f21f449b2e26768624626c8ad0
    https://github.com/scummvm/scummvm/commit/c2fe446cf292e0f21f449b2e26768624626c8ad0
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2023-06-04T15:48:04+02:00

Commit Message:
FREESCAPE: Fix typo

Changed paths:
    engines/freescape/freescape.cpp


diff --git a/engines/freescape/freescape.cpp b/engines/freescape/freescape.cpp
index 73af6eb844b..ba2c019525c 100644
--- a/engines/freescape/freescape.cpp
+++ b/engines/freescape/freescape.cpp
@@ -512,8 +512,8 @@ void FreescapeEngine::processInput() {
 
 				#if defined(__ANDROID__) || defined(IPHONE)
 				Common::Point resolution = _gfx->nativeResolution();
-				mousPos.x = _screenW * mousePos.x / resolution.x;
-				mousPos.y = _screenH * mousePos.y / resolution.y;
+				mousePos.x = _screenW * mousePos.x / resolution.x;
+				mousePos.y = _screenH * mousePos.y / resolution.y;
 				touchedScreenControls = onScreenControls(mousePos);
 				#endif
 




More information about the Scummvm-git-logs mailing list