summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-02-02 16:16:43 +0000
committertruelight <truelight@openttd.org>2005-02-02 16:16:43 +0000
commitab3ed5c43121cc8adefc0c6bbcf9ef0d1203d3ff (patch)
tree76125ad531fb31d62d879d3f5541edf39532e2d5 /aircraft_cmd.c
parent944bba10312022f14ae47e6e89fb8456db0f4af3 (diff)
downloadopenttd-ab3ed5c43121cc8adefc0c6bbcf9ef0d1203d3ff.tar.xz
(svn r1770) -Fix: Hopefully last pieces of code that are containing a station-id
(and should be an uint16, not uint8)
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index 8d8bf19bd..1eefa66f6 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -232,7 +232,7 @@ int32 CmdBuildAircraft(int x, int y, uint32 flags, uint32 p1, uint32 p2)
// v->load_unload_time_rem = 0;
// v->progress = 0;
- v->last_station_visited = 0xFFFF;
+ v->last_station_visited = INVALID_STATION;
// v->destination_coords = 0;
v->max_speed = avi->max_speed;