(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 6551 ef1f2af9881b
parent 6550 772567675577
child 6552 c41f3d3bfe18
child 9875 11068d555904
(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)
 };
 
 ///////////////////////////////////////////////////////////////////////