aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/dialogs/dialogs_spells.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/dialogs/dialogs_spells.cpp')
-rw-r--r--engines/xeen/dialogs/dialogs_spells.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/xeen/dialogs/dialogs_spells.cpp b/engines/xeen/dialogs/dialogs_spells.cpp
index 27329e48df..2c92203622 100644
--- a/engines/xeen/dialogs/dialogs_spells.cpp
+++ b/engines/xeen/dialogs/dialogs_spells.cpp
@@ -238,6 +238,9 @@ Character *SpellsDialog::execute(ButtonContainer *priorDialog, Character *c, int
if (topIndex < ((int)_spells.size() - 10))
++topIndex;
break;
+
+ default:
+ break;
}
} while (!_vm->shouldExit() && _buttonValue != Common::KEYCODE_ESCAPE);
@@ -620,6 +623,9 @@ int SpellOnWho::execute(int spellId) {
result = _buttonValue;
}
break;
+
+ default:
+ break;
}
}
@@ -828,6 +834,9 @@ bool LloydsBeacon::execute() {
_buttonValue = Common::KEYCODE_ESCAPE;
break;
+
+ default:
+ break;
}
} while (_buttonValue != Common::KEYCODE_ESCAPE);