[Scummvm-cvs-logs] CVS: scummvm/sky logic.cpp,1.147,1.148

Robert Göffringmann lavosspawn at users.sourceforge.net
Thu Nov 11 07:41:10 CET 2004


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4760/sky

Modified Files:
	logic.cpp 
Log Message:
fix for bug #1064113.
not sure how this could happen though

Index: logic.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/logic.cpp,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -d -r1.147 -r1.148
--- logic.cpp	11 Nov 2004 10:14:35 -0000	1.147
+++ logic.cpp	11 Nov 2004 15:40:48 -0000	1.148
@@ -162,6 +162,11 @@
 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;





More information about the Scummvm-git-logs mailing list