mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
MUTATIONOFJB: Fix Unused Variable Compiler Warning
This commit is contained in:
parent
b37c52a07a
commit
b21632c835
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user