[Scummvm-git-logs] scummvm master -> 96b5abd174a5a4de1775d925df9ddd8b6f44ab62
madmoose
thomas at fach-pedersen.net
Sat Jun 6 22:36:28 UTC 2020
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:
96b5abd174 KINGDOM: Fix item selection
Commit: 96b5abd174a5a4de1775d925df9ddd8b6f44ab62
https://github.com/scummvm/scummvm/commit/96b5abd174a5a4de1775d925df9ddd8b6f44ab62
Author: Thomas Fach-Pedersen (thomas at fach-pedersen.net)
Date: 2020-06-07T00:34:49+02:00
Commit Message:
KINGDOM: Fix item selection
This makes the cursor in item selection wronger, though.
But it wasn't entirely right before either.
Changed paths:
engines/kingdom/kingdom.cpp
diff --git a/engines/kingdom/kingdom.cpp b/engines/kingdom/kingdom.cpp
index 6a3921d06b..7ed7ae2e21 100644
--- a/engines/kingdom/kingdom.cpp
+++ b/engines/kingdom/kingdom.cpp
@@ -1619,7 +1619,7 @@ void KingdomGame::cursorType() {
_iconSelect = 9;
for (int var6 = 0; var6 < 8; var6++) {
- if (_mouseValue == 181 + var6) {
+ if (_mouseValue == 0x181 + var6) {
int var2 = _logic->_nodeNum;
if (_tsIconOnly)
var2 = 79;
More information about the Scummvm-git-logs
mailing list