diff options
author | Filippos Karapetis | 2009-10-11 21:28:52 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-10-11 21:28:52 +0000 |
commit | bb7cac5b8734d4be3d08d54daed66cdd3613172d (patch) | |
tree | cb0cc07f24e1f89c002b72180e36d10664052cbf | |
parent | 409a1bd0a6e43181c4d651620d2ea88e03db2bfe (diff) | |
download | scummvm-rg350-bb7cac5b8734d4be3d08d54daed66cdd3613172d.tar.gz scummvm-rg350-bb7cac5b8734d4be3d08d54daed66cdd3613172d.tar.bz2 scummvm-rg350-bb7cac5b8734d4be3d08d54daed66cdd3613172d.zip |
Show a warning when a selector vocabulary can't be found and a static vocabulary is used
svn-id: r44950
-rw-r--r-- | engines/sci/engine/kernel.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp index 0c83118500..920ea66d5b 100644 --- a/engines/sci/engine/kernel.cpp +++ b/engines/sci/engine/kernel.cpp @@ -406,7 +406,9 @@ void Kernel::loadSelectorNames() { if (staticSelectorTable.empty()) error("Kernel: Could not retrieve selector names"); - + else + warning("No selector vocabulary found, using a static one"); + for (uint32 i = 0; i < staticSelectorTable.size(); i++) { _selectorNames.push_back(staticSelectorTable[i]); if (oldScriptHeader) |