[Scummvm-git-logs] scummvm master -> 733d8779f28c76422440a986fab7c75ddc1450fd
antoniou79
noreply at scummvm.org
Sat Aug 23 21:31:53 UTC 2025
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
f7837c6c9b TSAGE: BLUEFORCE: Don't show text when clicking hand icon on map
733d8779f2 TSAGE: BLUEFORCE: Use proper id for empty INV slot
Commit: f7837c6c9b8664251b5a39dbf8f4679641102464
https://github.com/scummvm/scummvm/commit/f7837c6c9b8664251b5a39dbf8f4679641102464
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2025-08-24T00:29:10+03:00
Commit Message:
TSAGE: BLUEFORCE: Don't show text when clicking hand icon on map
This is for clicking on a non-valid location ie. anywhere on the map except a valid destination
Changed paths:
engines/tsage/blue_force/blueforce_scenes0.cpp
diff --git a/engines/tsage/blue_force/blueforce_scenes0.cpp b/engines/tsage/blue_force/blueforce_scenes0.cpp
index 335b6112517..2195643d73b 100644
--- a/engines/tsage/blue_force/blueforce_scenes0.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes0.cpp
@@ -538,6 +538,10 @@ void Scene50::process(Event &event) {
}
}
+ if (mouseDown) {
+ event.handled = true;
+ }
+
// No hotspot selected, so remove any current tooltip display
_text.remove();
}
Commit: 733d8779f28c76422440a986fab7c75ddc1450fd
https://github.com/scummvm/scummvm/commit/733d8779f28c76422440a986fab7c75ddc1450fd
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2025-08-24T00:31:03+03:00
Commit Message:
TSAGE: BLUEFORCE: Use proper id for empty INV slot
Changed paths:
engines/tsage/blue_force/blueforce_logic.cpp
diff --git a/engines/tsage/blue_force/blueforce_logic.cpp b/engines/tsage/blue_force/blueforce_logic.cpp
index af41056ccd9..43c31bb3f30 100644
--- a/engines/tsage/blue_force/blueforce_logic.cpp
+++ b/engines/tsage/blue_force/blueforce_logic.cpp
@@ -1350,7 +1350,7 @@ void BlueForceInvObjectList::alterInventory(int mode) {
* When an inventory item is selected, check if it's the gun belt, since that has a specific dialog
*/
bool BlueForceInvObjectList::SelectItem(int objectNumber) {
- if (objectNumber == 0) {
+ if (objectNumber == INV_NONE) {
// For Blue Force, clicking on an empty inventory (which corresponds to objectNumber 0)
// has to return true here to prevent the cursor being set (in UIInventorySlot::process())
// which would cause an assertion fault for resource size.
More information about the Scummvm-git-logs
mailing list