SCI: Build fix.

svn-id: r43483
This commit is contained in:
Walter van Niftrik 2009-08-17 16:07:47 +00:00
parent 260a2019b6
commit 4b9bfe2013

View File

@ -254,7 +254,7 @@ EngineState::DoSoundType EngineState::detectDoSoundType() {
if (!parse_reg_t(this, "?Sound", &soundClass)) {
reg_t fptr;
Object *obj = obj_get(this, soundClass);
Object *obj = obj_get(seg_manager, _version, soundClass);
SelectorType sel = lookup_selector(this, soundClass, ((SciEngine*)g_engine)->getKernel()->_selectorMap.play, NULL, &fptr);
if (obj && (sel == kSelectorMethod)) {