summaryrefslogtreecommitdiff
path: root/src/aircraft_cmd.cpp
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-11-09 17:43:05 +0000
committerterkhen <terkhen@openttd.org>2010-11-09 17:43:05 +0000
commit6a38925ca3d3865f7f9de8cee37a6226d12af4d9 (patch)
tree479ce8e41b6c5cd1e74656d66462205c96e885d0 /src/aircraft_cmd.cpp
parente1ff8aeb09cded7fe1651f0a7fa06d145d723607 (diff)
downloadopenttd-6a38925ca3d3865f7f9de8cee37a6226d12af4d9.tar.xz
(svn r21123) -Codechange: Remove max_speed from the Vehicle class.
Diffstat (limited to 'src/aircraft_cmd.cpp')
-rw-r--r--src/aircraft_cmd.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp
index c66d47881..1c3a29549 100644
--- a/src/aircraft_cmd.cpp
+++ b/src/aircraft_cmd.cpp
@@ -269,7 +269,6 @@ CommandCost CmdBuildAircraft(TileIndex tile, DoCommandFlag flags, const Engine *
v->name = NULL;
v->last_station_visited = INVALID_STATION;
- v->max_speed = avi->max_speed;
v->acceleration = avi->acceleration;
v->engine_type = e->index;
u->engine_type = e->index;