aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-08-30 10:49:32 +0000
committerMartin Kiewitz2010-08-30 10:49:32 +0000
commit80b405ecb47c2bc088ce90453d888aaf22fe7d22 (patch)
treedb50b85dd6e02f032a0e375cc71ef41d27ed3f04 /engines
parent1067a72769d93e6eff77d0c968a7c3926e663087 (diff)
downloadscummvm-rg350-80b405ecb47c2bc088ce90453d888aaf22fe7d22.tar.gz
scummvm-rg350-80b405ecb47c2bc088ce90453d888aaf22fe7d22.tar.bz2
scummvm-rg350-80b405ecb47c2bc088ce90453d888aaf22fe7d22.zip
SCI: adding comments for kDoBresen
svn-id: r52452
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kmovement.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/kmovement.cpp b/engines/sci/engine/kmovement.cpp
index 7c5d8ac4d9..2ef1dce671 100644
--- a/engines/sci/engine/kmovement.cpp
+++ b/engines/sci/engine/kmovement.cpp
@@ -275,11 +275,11 @@ reg_t kDoBresen(EngineState *s, int argc, reg_t *argv) {
if (g_sci->_features->handleMoveCount()) {
if (max_movcnt > movcnt) {
++movcnt;
- writeSelectorValue(segMan, mover, SELECTOR(b_movCnt), movcnt); // Needed for HQ1/Ogre?
- return NULL_REG; // why do we exit here?
+ writeSelectorValue(segMan, mover, SELECTOR(b_movCnt), movcnt);
+ return NULL_REG; // sierra sci1+ checks, if destination got reached in this case
} else {
movcnt = 0;
- writeSelectorValue(segMan, mover, SELECTOR(b_movCnt), movcnt); // Needed for HQ1/Ogre?
+ writeSelectorValue(segMan, mover, SELECTOR(b_movCnt), movcnt);
}
}