From 1e005d37e2e7a139303c38b5b068b35e7cc0eb7e Mon Sep 17 00:00:00 2001 From: lolbot-iichan Date: Mon, 3 Jun 2019 11:19:18 +0300 Subject: 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. --- engines/wintermute/base/scriptables/script_engine.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'engines/wintermute/base/scriptables') 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++; -- cgit v1.2.3