diff options
author | Eugene Sandulenko | 2016-08-25 18:02:52 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-25 18:16:15 +0200 |
commit | 1a5ad0de5ae4ae0b4ea2ed3e3415ae4daef50797 (patch) | |
tree | 9f8e26aeebc99bd7c9a1bec5938edd87963c56c6 /engines | |
parent | 6e8e0845a16fbe54dffca84d86cc187b0b429557 (diff) | |
download | scummvm-rg350-1a5ad0de5ae4ae0b4ea2ed3e3415ae4daef50797.tar.gz scummvm-rg350-1a5ad0de5ae4ae0b4ea2ed3e3415ae4daef50797.tar.bz2 scummvm-rg350-1a5ad0de5ae4ae0b4ea2ed3e3415ae4daef50797.zip |
DIRECTOR: Fix warning
Diffstat (limited to 'engines')
-rw-r--r-- | engines/director/score.cpp | 2 |
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; |