diff options
author | lolbot-iichan | 2019-06-03 11:19:18 +0300 |
---|---|---|
committer | Filippos Karapetis | 2019-06-25 08:10:16 +0300 |
commit | 1e005d37e2e7a139303c38b5b068b35e7cc0eb7e (patch) | |
tree | 0873ccf8929292c6c8c2a821d77e8aad2daf170a /engines | |
parent | b9af5ad30496cf04604189008e9efe2af1b9164b (diff) | |
download | scummvm-rg350-1e005d37e2e7a139303c38b5b068b35e7cc0eb7e.tar.gz scummvm-rg350-1e005d37e2e7a139303c38b5b068b35e7cc0eb7e.tar.bz2 scummvm-rg350-1e005d37e2e7a139303c38b5b068b35e7cc0eb7e.zip |
WINTERMUTE: Handle enum in GetNumScripts
This code is used only in debug mode and only to display some script
counters.
States are handled in the very same way in WME Lite, so there is no
reason to log tons of warning here.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/base/scriptables/script_engine.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/wintermute/base/scriptables/script_engine.cpp b/engines/wintermute/base/scriptables/script_engine.cpp index 8d957c6951..a24b41214b 100644 --- a/engines/wintermute/base/scriptables/script_engine.cpp +++ b/engines/wintermute/base/scriptables/script_engine.cpp @@ -433,7 +433,6 @@ int ScEngine::getNumScripts(int *running, int *waiting, int *persistent) { numPersistent++; break; default: - warning("ScEngine::GetNumScripts - unhandled enum"); break; } numTotal++; |