diff options
author | Ľubomír Remák | 2018-10-28 17:45:26 +0100 |
---|---|---|
committer | Ľubomír Remák | 2018-10-28 17:45:26 +0100 |
commit | d4087d790222484465de8c2dd4ed1be5e178d22e (patch) | |
tree | aec84d74a2d8c88a8b4434195fa5de71c7602381 /engines/mutationofjb/widgets/gamewidget.cpp | |
parent | bd58c0702bca96c1630d18e358ecc52920d189e1 (diff) | |
download | scummvm-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/gamewidget.cpp')
-rw-r--r-- | engines/mutationofjb/widgets/gamewidget.cpp | 8 |
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); |