aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-08-25 18:02:52 +0200
committerEugene Sandulenko2016-08-25 18:16:15 +0200
commit1a5ad0de5ae4ae0b4ea2ed3e3415ae4daef50797 (patch)
tree9f8e26aeebc99bd7c9a1bec5938edd87963c56c6
parent6e8e0845a16fbe54dffca84d86cc187b0b429557 (diff)
downloadscummvm-rg350-1a5ad0de5ae4ae0b4ea2ed3e3415ae4daef50797.tar.gz
scummvm-rg350-1a5ad0de5ae4ae0b4ea2ed3e3415ae4daef50797.tar.bz2
scummvm-rg350-1a5ad0de5ae4ae0b4ea2ed3e3415ae4daef50797.zip
DIRECTOR: Fix warning
-rw-r--r--engines/director/score.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index b3f2e02849..75d82262a2 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -439,6 +439,8 @@ void Score::dumpScript(const char *script, ScriptType type, uint16 id) {
char buf[256];
switch (type) {
+ case kNoneScript:
+ error("Incorrect dumpScript() call");
case kFrameScript:
typeName = "frame";
break;