[Scummvm-git-logs] scummvm master -> 03400a427e4005dd48f3efa4765f8d4f0bd2648b
antoniou79
noreply at scummvm.org
Sun Aug 24 13:29:25 UTC 2025
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:
03400a427e TSAGE: BLUEFORCE: Fix exit to front of Police Station
Commit: 03400a427e4005dd48f3efa4765f8d4f0bd2648b
https://github.com/scummvm/scummvm/commit/03400a427e4005dd48f3efa4765f8d4f0bd2648b
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2025-08-24T16:29:05+03:00
Commit Message:
TSAGE: BLUEFORCE: Fix exit to front of Police Station
This exit would not work if Jake arrived in the "back of Police Station" scene on foot from the front of Police Station
Verified with disasm as far as I can tell
Changed paths:
engines/tsage/blue_force/blueforce_logic.cpp
engines/tsage/blue_force/blueforce_scenes3.cpp
diff --git a/engines/tsage/blue_force/blueforce_logic.cpp b/engines/tsage/blue_force/blueforce_logic.cpp
index 43c31bb3f30..4250be15e4a 100644
--- a/engines/tsage/blue_force/blueforce_logic.cpp
+++ b/engines/tsage/blue_force/blueforce_logic.cpp
@@ -1351,7 +1351,7 @@ void BlueForceInvObjectList::alterInventory(int mode) {
*/
bool BlueForceInvObjectList::SelectItem(int objectNumber) {
if (objectNumber == INV_NONE) {
- // For Blue Force, clicking on an empty inventory (which corresponds to objectNumber 0)
+ // For Blue Force, clicking on an empty inventory slot (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.
return true;
diff --git a/engines/tsage/blue_force/blueforce_scenes3.cpp b/engines/tsage/blue_force/blueforce_scenes3.cpp
index a4dbe87493e..965756697fd 100644
--- a/engines/tsage/blue_force/blueforce_scenes3.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes3.cpp
@@ -369,7 +369,9 @@ void Scene300::postInit(SceneObjectList *OwnerList) {
}
void Scene300::signal() {
- switch (_sceneMode) {
+ int sceneMode = _sceneMode;
+ ++_sceneMode;
+ switch (sceneMode) {
case 300:
BF_GLOBALS._sound1.fadeSound(33);
BF_GLOBALS.clearFlag(onBike);
More information about the Scummvm-git-logs
mailing list