mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 12:48:16 +00:00
DRACI: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
This commit is contained in:
parent
4d8a0f22f2
commit
7bf7a415f7
@ -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
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user