aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tinsel/dialogs.cpp')
-rw-r--r--engines/tinsel/dialogs.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/engines/tinsel/dialogs.cpp b/engines/tinsel/dialogs.cpp
index 755b9275c6..1b7b9f7fff 100644
--- a/engines/tinsel/dialogs.cpp
+++ b/engines/tinsel/dialogs.cpp
@@ -3509,8 +3509,14 @@ static void InvCursor(InvCursorFN fn, int CurX, int CurY) {
case I_BODY:
restoreMain = true;
break;
+
+ default:
+ break;
}
break;
+
+ default:
+ break;
}
if (restoreMain && ICursor != IC_NORMAL) {
@@ -4489,6 +4495,9 @@ static void SlideMSlider(int x, SSFN fn) {
if (g_ino == INV_CONF && cd.box == subtitlesBox)
Select(_vm->_config->_language, false);
break;
+
+ default:
+ break;
}
}
@@ -4822,6 +4831,9 @@ static void InvDragStart() {
g_InvDragging = ID_BRIGHT;
}
break;
+
+ default:
+ break;
}
}
@@ -5050,6 +5062,7 @@ static void MenuAction(int i, bool dbl) {
static void ConfActionSpecial(int i) {
switch (i) {
case IB_NONE:
+ default:
break;
case IB_UP: // Scroll up
if (cd.extraBase > 0) {
@@ -5291,6 +5304,9 @@ static void InvWalkTo(const Common::Point &coOrds) {
InvPickup(i);
}
break;
+
+ default:
+ break;
}
}
@@ -5372,6 +5388,9 @@ static void InvAction() {
g_ItemsChanged = true;
}
break;
+
+ default:
+ break;
}
}
@@ -5398,6 +5417,9 @@ static void InvLook(const Common::Point &coOrds) {
ConvAction(INV_CLOSEICON);
KillInventory();
break;
+
+ default:
+ break;
}
}