From af17c1ac5161b261c4c8c41e360dd5d11b7859d7 Mon Sep 17 00:00:00 2001 From: Robert Göffringmann Date: Wed, 20 Aug 2003 12:12:11 +0000 Subject: copied some fixes which only were in 0.5.1 branch. svn-id: r9799 --- sky/logic.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sky/logic.cpp') 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 -- cgit v1.2.3