aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb/widgets
diff options
context:
space:
mode:
authorĽubomír Remák2018-10-28 17:45:26 +0100
committerĽubomír Remák2018-10-28 17:45:26 +0100
commitd4087d790222484465de8c2dd4ed1be5e178d22e (patch)
treeaec84d74a2d8c88a8b4434195fa5de71c7602381 /engines/mutationofjb/widgets
parentbd58c0702bca96c1630d18e358ecc52920d189e1 (diff)
downloadscummvm-rg350-d4087d790222484465de8c2dd4ed1be5e178d22e.tar.gz
scummvm-rg350-d4087d790222484465de8c2dd4ed1be5e178d22e.tar.bz2
scummvm-rg350-d4087d790222484465de8c2dd4ed1be5e178d22e.zip
MUTATIONOFJB: Allow completion of first chapter.
Implement dummy SPECIALSHOW command (skip puzzle). Fix NEWROOM command parsing. Fix use action on inventory items. Fix interaction with certain doors.
Diffstat (limited to 'engines/mutationofjb/widgets')
-rw-r--r--engines/mutationofjb/widgets/gamewidget.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/engines/mutationofjb/widgets/gamewidget.cpp b/engines/mutationofjb/widgets/gamewidget.cpp
index c481869ff3..603736729e 100644
--- a/engines/mutationofjb/widgets/gamewidget.cpp
+++ b/engines/mutationofjb/widgets/gamewidget.cpp
@@ -108,11 +108,9 @@ void GameWidget::handleNormalScene(const Common::Event &event) {
bool entityHit = false;
if (Door *const door = scene->findDoor(x, y)) {
- if (door->_destSceneId != 0) {
- if (_callback)
- _callback->onGameEntityHovered(this, door->_name);
- entityHit = true;
- }
+ if (_callback)
+ _callback->onGameEntityHovered(this, door->_name);
+ entityHit = true;
} else if (Static *const stat = scene->findStatic(x, y)) {
if (_callback)
_callback->onGameEntityHovered(this, stat->_name);