diff options
-rw-r--r-- | engines/sci/engine/kmovement.cpp | 3 |
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); } |