aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-16 10:00:58 +0000
committerMartin Kiewitz2010-07-16 10:00:58 +0000
commit1e4261bab455a43f23d9b59736c67474a563d703 (patch)
treee5ce8554edcebc8fe03830a27a1a8b7ed5a5496f /engines/sci/engine
parent5356a6133872c00ce0db904047ce2624bf853e03 (diff)
downloadscummvm-rg350-1e4261bab455a43f23d9b59736c67474a563d703.tar.gz
scummvm-rg350-1e4261bab455a43f23d9b59736c67474a563d703.tar.bz2
scummvm-rg350-1e4261bab455a43f23d9b59736c67474a563d703.zip
SCI: added comments about when xLast/yLast were exactly introduced
svn-id: r50934
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kmovement.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/kmovement.cpp b/engines/sci/engine/kmovement.cpp
index 82a232f6b4..cb35aabaa9 100644
--- a/engines/sci/engine/kmovement.cpp
+++ b/engines/sci/engine/kmovement.cpp
@@ -268,8 +268,9 @@ reg_t kDoBresen(EngineState *s, int argc, reg_t *argv) {
axis = (int16)readSelectorValue(segMan, mover, SELECTOR(b_xAxis));
if ((getSciVersion() >= SCI_VERSION_1_MIDDLE)) {
+ // Introduced inbetween SCI1MIDDLE, lsl5 demo doesn't have it, longbow demo has
if (SELECTOR(xLast) != -1) {
- // Introduced SCI1MIDDLE (it seems) - save last position into mover
+ // save last position into mover
writeSelectorValue(segMan, mover, SELECTOR(xLast), x);
writeSelectorValue(segMan, mover, SELECTOR(yLast), y);
}