summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrichk <richk@openttd.org>2007-03-05 23:00:43 +0000
committerrichk <richk@openttd.org>2007-03-05 23:00:43 +0000
commite073c085dca4c942d7d0987e0048330eb354db05 (patch)
tree7a2aebb3f2e31b8708bc861b7685e32810ef4677 /src
parent88a00e9d40c212df881163fe288a2495f7012221 (diff)
downloadopenttd-e073c085dca4c942d7d0987e0048330eb354db05.tar.xz
(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)
Diffstat (limited to 'src')
-rw-r--r--src/airport_movement.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/airport_movement.h b/src/airport_movement.h
index 20b0aac05..f8bed45f5 100644
--- a/src/airport_movement.h
+++ b/src/airport_movement.h
@@ -371,7 +371,7 @@ static const AirportMovingData _airport_moving_data_oilrig[9] = {
{ -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)
};
///////////////////////////////////////////////////////////////////////