aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/draw_v1.cpp
diff options
context:
space:
mode:
authorD G Turner2019-12-12 17:31:01 +0000
committerD G Turner2019-12-12 17:31:01 +0000
commit799a088b6edb7772c01d60ebc3e6160bb26ce8fc (patch)
treec3586556fd1efe38db42629427c718af16ca41d7 /engines/gob/draw_v1.cpp
parentf62dc99600da83128b7ee1c08bfb09ebc6539173 (diff)
downloadscummvm-rg350-799a088b6edb7772c01d60ebc3e6160bb26ce8fc.tar.gz
scummvm-rg350-799a088b6edb7772c01d60ebc3e6160bb26ce8fc.tar.bz2
scummvm-rg350-799a088b6edb7772c01d60ebc3e6160bb26ce8fc.zip
GOB: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/gob/draw_v1.cpp')
-rw-r--r--engines/gob/draw_v1.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/gob/draw_v1.cpp b/engines/gob/draw_v1.cpp
index d17aad5cad..daf28fceaa 100644
--- a/engines/gob/draw_v1.cpp
+++ b/engines/gob/draw_v1.cpp
@@ -213,6 +213,8 @@ void Draw_v1::printTotText(int16 id) {
_backColor = cmd & 0xF;
spriteOperation(DRAW_FILLRECTABS);
break;
+ default:
+ break;
}
}
ptr += 2;
@@ -485,6 +487,9 @@ void Draw_v1::spriteOperation(int16 operation) {
_destSpriteX, _destSpriteY, (_transparency == 0) ? -1 : 0);
break;
+
+ default:
+ break;
}
if (_renderFlags & RENDERFLAG_USEDELTAS) {