diff options
Diffstat (limited to 'engines/wintermute/Base/scriptables/ScEngine.cpp')
-rw-r--r-- | engines/wintermute/Base/scriptables/ScEngine.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/wintermute/Base/scriptables/ScEngine.cpp b/engines/wintermute/Base/scriptables/ScEngine.cpp index d81db93e34..a8bfc10800 100644 --- a/engines/wintermute/Base/scriptables/ScEngine.cpp +++ b/engines/wintermute/Base/scriptables/ScEngine.cpp @@ -421,6 +421,9 @@ HRESULT CScEngine::Tick() { }
break;
}
+ default:
+ warning("CScEngine::Tick - Unhandled enum");
+ break;
} // switch
} // for each script
@@ -515,6 +518,9 @@ int CScEngine::GetNumScripts(int *Running, int *Waiting, int *Persistent) { case SCRIPT_PERSISTENT:
persistent++;
break;
+ default:
+ warning("CScEngine::GetNumScripts - unhandled enum");
+ break;
}
total++;
}
|