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

neuromancer noreply at scummvm.org
Wed Nov 25 08:15:39 UTC 2026


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

Summary:
bb127b20eb HOLLYWOOD: RUNAWAY: removed mouse warping


Commit: bb127b20eba493c587ff211bd39a837c35cbeb01
    https://github.com/scummvm/scummvm/commit/bb127b20eba493c587ff211bd39a837c35cbeb01
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2026-11-25T09:14:49+01:00

Commit Message:
HOLLYWOOD: RUNAWAY: removed mouse warping

Changed paths:
    engines/hollywood/runaway/presentation.cpp
    engines/hollywood/runaway/presentation.h


diff --git a/engines/hollywood/runaway/presentation.cpp b/engines/hollywood/runaway/presentation.cpp
index 0b96e071c27..01c8d096391 100644
--- a/engines/hollywood/runaway/presentation.cpp
+++ b/engines/hollywood/runaway/presentation.cpp
@@ -76,21 +76,15 @@ RunawayPresentation::MouseState::~MouseState() {
 Common::Point RunawayPresentation::MouseState::update(bool active) {
 	const Common::Point mouse = g_system->getEventManager()->getMousePos();
 	if (active && !_active) {
-		_position = mouse;
 		_wasVisible = CursorMan.showMouse(false);
 	}
-	if (_active && mouse != _position) {
-		// Warp outside event polling so generated motion cannot prolong the input loop.
-		g_system->warpMouse(_position.x, _position.y);
-	}
 	if (active) {
 		CursorMan.showMouse(false);
 	} else if (_active) {
 		CursorMan.showMouse(_wasVisible);
 	}
-	const Common::Point position = active || _active ? _position : mouse;
 	_active = active;
-	return position;
+	return mouse;
 }
 
 static const uint kInterrogationSpeakerActor[] = {1, 2, 0};
diff --git a/engines/hollywood/runaway/presentation.h b/engines/hollywood/runaway/presentation.h
index ead0e015c0f..8ce13abbfa5 100644
--- a/engines/hollywood/runaway/presentation.h
+++ b/engines/hollywood/runaway/presentation.h
@@ -53,7 +53,6 @@ public:
 		Common::Point update(bool active);
 
 	private:
-		Common::Point _position;
 		bool _active = false, _wasVisible = false;
 	};
 




More information about the Scummvm-git-logs mailing list