aboutsummaryrefslogtreecommitdiff
path: root/engines/draci
diff options
context:
space:
mode:
Diffstat (limited to 'engines/draci')
-rw-r--r--engines/draci/font.cpp3
-rw-r--r--engines/draci/game.cpp6
2 files changed, 7 insertions, 2 deletions
diff --git a/engines/draci/font.cpp b/engines/draci/font.cpp
index c688f4292d..669c7d85e0 100644
--- a/engines/draci/font.cpp
+++ b/engines/draci/font.cpp
@@ -173,6 +173,9 @@ void Font::drawChar(Surface *dst, uint8 chr, int tx, int ty, int with_color) con
case 251:
color = kFontColor4;
break;
+
+ default:
+ break;
}
// Paint the pixel
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp
index f82ef395f3..523a1d0132 100644
--- a/engines/draci/game.cpp
+++ b/engines/draci/game.cpp
@@ -643,8 +643,8 @@ void Game::loop(LoopSubstatus substatus, bool shouldExit) {
case kStatusDialogue:
handleDialogueLoop();
break;
- case kStatusGate:
- // cannot happen when isCursonOn; added for completeness
+ case kStatusGate: // cannot happen when isCursonOn; added for completeness
+ default:
break;
}
}
@@ -1000,6 +1000,8 @@ void Game::inventorySwitch(int keycode) {
removeItem(new_item);
}
break;
+ default:
+ break;
}
if (getLoopStatus() == kStatusOrdinary) {
updateOrdinaryCursor();