aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kgraphics.cpp
diff options
context:
space:
mode:
authorD G Turner2012-07-16 01:24:40 +0100
committerD G Turner2012-07-16 01:24:40 +0100
commite73dffa57cbe65ffb10af4f2a5b47f644269caab (patch)
tree191c3e8e2ebdf81dec58d4006a98ca20a688120b /engines/sci/engine/kgraphics.cpp
parent9669b73ca811af9672215748e92acb3f77805b75 (diff)
parent1fffbe40ceb82bec77479c56176abeff0d2bd5e5 (diff)
downloadscummvm-rg350-e73dffa57cbe65ffb10af4f2a5b47f644269caab.tar.gz
scummvm-rg350-e73dffa57cbe65ffb10af4f2a5b47f644269caab.tar.bz2
scummvm-rg350-e73dffa57cbe65ffb10af4f2a5b47f644269caab.zip
Merge branch 'master' into teenagentRefactor
Conflicts: engines/teenagent/resources.cpp
Diffstat (limited to 'engines/sci/engine/kgraphics.cpp')
-rw-r--r--engines/sci/engine/kgraphics.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index ec8e0dbf1b..6d938b6d22 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -950,8 +950,9 @@ reg_t kDrawControl(EngineState *s, int argc, reg_t *argv) {
}
}
if (objName == "savedHeros") {
- // Import of QfG character files dialog is shown
- // display additional popup information before letting user use it
+ // Import of QfG character files dialog is shown.
+ // Display additional popup information before letting user use it.
+ // For the SCI32 version of this, check kernelAddPlane().
reg_t changeDirButton = s->_segMan->findObjectByName("changeDirItem");
if (!changeDirButton.isNull()) {
// check if checkDirButton is still enabled, in that case we are called the first time during that room
@@ -964,6 +965,8 @@ reg_t kDrawControl(EngineState *s, int argc, reg_t *argv) {
"for Quest for Glory 2. Example: 'qfg2-thief.sav'.");
}
}
+
+ // For the SCI32 version of this, check kListAt().
s->_chosenQfGImportItem = readSelectorValue(s->_segMan, controlObject, SELECTOR(mark));
}