Skip to content

Commit

Permalink
BLADERUNNER: Fix clickbox basket, fire ext PS05
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniou79 committed May 4, 2019
1 parent d5b4f6b commit 8863b23
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions engines/bladerunner/set.cpp
Expand Up @@ -444,6 +444,17 @@ void Set::overrideSceneObjectInfo(int objectId) const {
_objects[objectId].bbox.setXYZ(60.00f, 16.00f, -141.21f, 91.60f, 39.94f, -116.00f);
}
break;
case kScenePS05:
if (objectId == 8 && _objects[objectId].name == "WIRE BASKET") {
// waste basket click box
_objects[objectId].bbox.setXYZ(706.32f, 0.0f, -350.80f, 724.90f, 15.15f, -330.09f);
} else if (objectId == 0 && _objects[objectId].name == "FIRE EXTINGISHER") {
// fire extinguisher is click-able (original game) but does nothing
// still it's best to fix its clickbox and remove clickable or restore functionality from
// the scene script
_objects[objectId].bbox.setXYZ(695.63f, 42.65f, -628.10f, 706.71f, 69.22f, -614.47f);
}
break;
case kSceneUG09:
// block passage to buggy pipe
if (objectId == 7 && _objects[objectId].name == "BOXS FOR ARCHWAY 01") {
Expand Down

0 comments on commit 8863b23

Please sign in to comment.