aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cine/gfx.cpp3
-rw-r--r--engines/cine/object.cpp4
-rw-r--r--engines/cine/script_fw.cpp4
-rw-r--r--engines/cine/various.cpp2
4 files changed, 13 insertions, 0 deletions
diff --git a/engines/cine/gfx.cpp b/engines/cine/gfx.cpp
index b9175cac72..981d73e539 100644
--- a/engines/cine/gfx.cpp
+++ b/engines/cine/gfx.cpp
@@ -635,6 +635,9 @@ void FWRenderer::renderOverlay(const Common::List<overlay>::iterator &it) {
fillSprite(*obj);
break;
+
+ default:
+ break;
}
}
diff --git a/engines/cine/object.cpp b/engines/cine/object.cpp
index f014843f9d..5eabc79e8b 100644
--- a/engines/cine/object.cpp
+++ b/engines/cine/object.cpp
@@ -244,6 +244,8 @@ void modifyObjectParam(byte objIdx, byte paramIdx, int16 newValue) {
case 6:
g_cine->_objectTable[objIdx].part = newValue;
break;
+ default:
+ break;
}
}
@@ -310,6 +312,8 @@ int16 getObjectParam(uint16 objIdx, uint16 paramIdx) {
return g_cine->_objectTable[objIdx].costume;
case 5:
return g_cine->_objectTable[objIdx].part;
+ default:
+ break;
}
return 0;
diff --git a/engines/cine/script_fw.cpp b/engines/cine/script_fw.cpp
index 86eb709d5a..4383c11d81 100644
--- a/engines/cine/script_fw.cpp
+++ b/engines/cine/script_fw.cpp
@@ -459,6 +459,8 @@ int RawScript::getNextLabel(const FWScriptInfo &info, int offset) const {
break;
case 'x': // exit script
return -pos - 1;
+ default:
+ break;
}
}
}
@@ -1439,6 +1441,8 @@ int FWScript::o1_loadNewPrcName() {
debugC(5, kCineDebugScript, "Line: %d: loadMsg(\"%s\")", _line, param2);
Common::strlcpy(newMsgName, param2, sizeof(newMsgName));
break;
+ default:
+ break;
}
return 0;
}
diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp
index d6654f1b8d..b571000962 100644
--- a/engines/cine/various.cpp
+++ b/engines/cine/various.cpp
@@ -523,6 +523,8 @@ void CineEngine::makeSystemMenu() {
}
break;
}
+ default:
+ break;
}
inMenu = false;