After discussing with waltervn, committing my fix for the King's Quest I Demo (original from Patch #2795916). I'm also fixing the full game as well :)

svn-id: r41841
This commit is contained in:
Matthew Hoops 2009-06-25 00:14:07 +00:00
parent d03dc08b64
commit 4df9dd82fb
4 changed files with 20 additions and 9 deletions

View file

@ -945,7 +945,11 @@ bool Kernel::loadKernelNames() {
switch (_resmgr->_sciVersion) {
case SCI_VERSION_0:
case SCI_VERSION_01:
vocab_get_knames0(_resmgr, _kernelNames);
// HACK: The KQ1 demo requires the SCI1 vocabulary.
if (((SciEngine*)g_engine)->getFlags() & GF_SCI0_SCI1VOCAB)
vocab_get_knames1(_resmgr, _kernelNames);
else
vocab_get_knames0(_resmgr, _kernelNames);
break;
case SCI_VERSION_01_VGA:
case SCI_VERSION_01_VGA_ODD: