[Scummvm-git-logs] scummvm master -> 49fdbc12949131187bfaf4b15c9ff7e7e90d5218

dreammaster noreply at scummvm.org
Wed Feb 21 04:50:18 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:
49fdbc1294 M4: Fix cursor cycling to talk cursor


Commit: 49fdbc12949131187bfaf4b15c9ff7e7e90d5218
    https://github.com/scummvm/scummvm/commit/49fdbc12949131187bfaf4b15c9ff7e7e90d5218
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2024-02-20T20:50:11-08:00

Commit Message:
M4: Fix cursor cycling to talk cursor

Changed paths:
    engines/m4/burger/gui/interface.cpp


diff --git a/engines/m4/burger/gui/interface.cpp b/engines/m4/burger/gui/interface.cpp
index 9c536da1d5b..4a00de1681e 100644
--- a/engines/m4/burger/gui/interface.cpp
+++ b/engines/m4/burger/gui/interface.cpp
@@ -537,8 +537,11 @@ void Interface::a_cb() {
 	if (player_commands_allowed() && INTERFACE_VISIBLE) {
 		Common::strcpy_s(_verbText, "<><><><><><><><>");
 		mouse_set_sprite(_arrow);
-		_iconSelected = true;
+		_iconSelected = false;
 		_G(cursor_state) = kARROW;
+
+		if (_hotspot && !mouse_set_sprite(_hotspot->cursor_number))
+			mouse_set_sprite(kArrowCursor);
 	}
 }
 




More information about the Scummvm-git-logs mailing list