From bb7cac5b8734d4be3d08d54daed66cdd3613172d Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 11 Oct 2009 21:28:52 +0000 Subject: Show a warning when a selector vocabulary can't be found and a static vocabulary is used svn-id: r44950 --- engines/sci/engine/kernel.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines') 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) -- cgit v1.2.3