diff options
Diffstat (limited to 'engines/mutationofjb')
-rw-r--r-- | engines/mutationofjb/widgets/gamewidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mutationofjb/widgets/gamewidget.cpp b/engines/mutationofjb/widgets/gamewidget.cpp index 77375a7c5c..c574b94abd 100644 --- a/engines/mutationofjb/widgets/gamewidget.cpp +++ b/engines/mutationofjb/widgets/gamewidget.cpp @@ -144,7 +144,7 @@ void GameWidget::handleMapScene(const Common::Event &event) { const int16 y = event.mouse.y; int index = 0; - if (Bitmap *const bitmap = scene->findBitmap(x, y, &index)) { + if (scene->findBitmap(x, y, &index)) { Static *const stat = scene->getStatic(index); if (stat && stat->_active == 1) { game.startActionSection(ActionInfo::Walk, stat->_name); @@ -160,7 +160,7 @@ void GameWidget::handleMapScene(const Common::Event &event) { int index = 0; //bool found = false; - if (Bitmap *const bitmap = scene->findBitmap(x, y, &index)) { + if (scene->findBitmap(x, y, &index)) { Static *const stat = scene->getStatic(index); if (stat && stat->_active == 1) { Object *const object = scene->getObject(index); |