aboutsummaryrefslogtreecommitdiff
path: root/sky/logic.cpp
diff options
context:
space:
mode:
authorRobert Göffringmann2003-08-20 12:12:11 +0000
committerRobert Göffringmann2003-08-20 12:12:11 +0000
commitaf17c1ac5161b261c4c8c41e360dd5d11b7859d7 (patch)
tree4c5b3a0dcda7056175951a0a747f303b3318e721 /sky/logic.cpp
parent123af301474cac28e53f96b5f23f229429d32eaa (diff)
downloadscummvm-rg350-af17c1ac5161b261c4c8c41e360dd5d11b7859d7.tar.gz
scummvm-rg350-af17c1ac5161b261c4c8c41e360dd5d11b7859d7.tar.bz2
scummvm-rg350-af17c1ac5161b261c4c8c41e360dd5d11b7859d7.zip
copied some fixes which only were in 0.5.1 branch.
svn-id: r9799
Diffstat (limited to 'sky/logic.cpp')
-rw-r--r--sky/logic.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sky/logic.cpp b/sky/logic.cpp
index 3083b2c8af..846227fede 100644
--- a/sky/logic.cpp
+++ b/sky/logic.cpp
@@ -146,11 +146,10 @@ void SkyLogic::logicScript() {
void SkyLogic::autoRoute() {
_compact->downFlag = _skyAutoRoute->autoRoute(_compact);
- if (!_compact->downFlag) { // route ok
+ if (_compact->downFlag != 1) { // route ok
_compact->grafixProg.pos = 0;
_compact->grafixProg.ptrTarget = 0;
_compact->grafixProg.ptrType = AUTOROUTE;
- //_compact->grafixProg = (uint16*)_compact->extCompact->animScratch;
}
_compact->logic = L_SCRIPT; // continue the script