SCI: added comments about when xLast/yLast were exactly introduced

svn-id: r50934
This commit is contained in:
Martin Kiewitz 2010-07-16 10:00:58 +00:00
parent 5356a61338
commit 1e4261bab4

View File

@ -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);
}