not sure how this could happen though

svn-id: r15790
This commit is contained in:
Robert Göffringmann 2004-11-11 15:40:48 +00:00
parent 37833f9832
commit fd2ab69c25

View file

@ -162,6 +162,11 @@ void Logic::logicScript() {
void Logic::autoRoute() {
_compact->downFlag = _skyAutoRoute->autoRoute(_compact);
if ((_compact->downFlag == 2) && (_compact == &SkyCompact::joey) &&
(_compact->mode == 0) && (_compact->baseSub == JOEY_OUT_OF_LIFT)) {
// workaround for script bug #1064113. Details unclear...
_compact->downFlag = 0;
}
if (_compact->downFlag != 1) { // route ok
_compact->grafixProg.pos = 0;
_compact->grafixProg.ptrTarget = 0;