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
commit4b2ff65e0e8b06f46a646efd28da65318d4a998b (patch)
tree7a2aebb3f2e31b8708bc861b7685e32810ef4677 /src
parent71e4bb484cd20c652a05a5f3c3709e8b9e8fea3c (diff)
downloadopenttd-4b2ff65e0e8b06f46a646efd28da65318d4a998b.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)
};
///////////////////////////////////////////////////////////////////////