[Scummvm-git-logs] scummvm master -> 045fc403829db714a4d6cd3b9c727289e76c3773

elasota noreply at scummvm.org
Wed Sep 4 04:12:31 UTC 2024


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:
045fc40382 VCRUISE: Fix "Improved click sensitivity" option always being on


Commit: 045fc403829db714a4d6cd3b9c727289e76c3773
    https://github.com/scummvm/scummvm/commit/045fc403829db714a4d6cd3b9c727289e76c3773
Author: elasota (1137273+elasota at users.noreply.github.com)
Date: 2024-09-04T00:12:03-04:00

Commit Message:
VCRUISE: Fix "Improved click sensitivity" option always being on

Changed paths:
    engines/vcruise/runtime.cpp


diff --git a/engines/vcruise/runtime.cpp b/engines/vcruise/runtime.cpp
index 846fb04a06e..dd7ac2582a7 100644
--- a/engines/vcruise/runtime.cpp
+++ b/engines/vcruise/runtime.cpp
@@ -1758,7 +1758,7 @@ bool Runtime::runFrame() {
 bool Runtime::bootGame(bool newGame) {
 	assert(_gameState == kGameStateBoot);
 
-	if (!ConfMan.hasKey("vcruise_increase_drag_distance") || ConfMan.hasKey("vcruise_increase_drag_distance"))
+	if (!ConfMan.hasKey("vcruise_increase_drag_distance") || ConfMan.getBool("vcruise_increase_drag_distance"))
 		_lmbDragTolerance = 3;
 
 	if (ConfMan.hasKey("vcruise_mute_music") && ConfMan.getBool("vcruise_mute_music"))




More information about the Scummvm-git-logs mailing list