From 75319afbfdc1e42179e261065a876bcf6f685bab Mon Sep 17 00:00:00 2001 From: md5 Date: Mon, 14 Mar 2011 19:59:30 +0200 Subject: SCI: Ignore some more leftovers scripts in the find_callk console command --- engines/sci/console.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'engines') diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp index 5c7feb3ae5..b13ae3c420 100644 --- a/engines/sci/console.cpp +++ b/engines/sci/console.cpp @@ -2720,9 +2720,10 @@ void Console::printKernelCallsFound(int kernelFuncNum, bool showFoundScripts) { SegManager *segMan = _engine->getEngineState()->_segMan; while (itr != resources->end()) { - if (_engine->getGameId() == GID_KQ5 && itr->getNumber() == 980) { - // Ignore script 980 in KQ5. Seems to be a leftover, as it - // uses a superclass from script 988, which doesn't exist + // Ignore specific leftover scripts, which require other non-existing scripts + if ((_engine->getGameId() == GID_HOYLE3 && itr->getNumber() == 995) || + (_engine->getGameId() == GID_KQ5 && itr->getNumber() == 980) || + (_engine->getGameId() == GID_SLATER && itr->getNumber() == 947)) { itr++; continue; } -- cgit v1.2.3