(svn r9022) -Fix [FS#660]: Airport state machine fails if the adjustment in position is less than 4 pixels. The new planespeed movement made this a fatal error on the oilrig. This fix just corrects the oilrig movement orders so that the error does not occur.
authorrichk
Mon, 05 Mar 2007 23:00:43 +0000
changeset 6225 fdec6c019f43
parent 6224 fd298cbf475e
child 6226 e2e9607ea3cc
(svn r9022) -Fix [FS#660]: Airport state machine fails if the adjustment in position is less than 4 pixels. The new planespeed movement made this a fatal error on the oilrig. This fix just corrects the oilrig movement orders so that the error does not occur.
Full solution is to allow minor corrections without changing the facing of the aircraft. (spotted by ledow)
src/airport_movement.h
--- a/src/airport_movement.h	Mon Mar 05 20:00:43 2007 +0000
+++ b/src/airport_movement.h	Mon Mar 05 23:00:43 2007 +0000
@@ -371,7 +371,7 @@
 	{  -31,   69, AMED_NOSPDCLAMP | AMED_SLOWTURN, {DIR_N} }, // 5 - circle #1 (north-east)
 	{  -31,  -49, AMED_NOSPDCLAMP | AMED_SLOWTURN, {DIR_N} }, // 6 - circle #2 (north-west)
 	{   69,  -49, AMED_NOSPDCLAMP | AMED_SLOWTURN, {DIR_N} }, // 7 - circle #3 (south-west)
-	{   70,    9, AMED_NOSPDCLAMP | AMED_SLOWTURN, {DIR_N} }, // 8 - circle #4 (south)
+	{   69,    9, AMED_NOSPDCLAMP | AMED_SLOWTURN, {DIR_N} }, // 8 - circle #4 (south)
 };
 
 ///////////////////////////////////////////////////////////////////////