diff options
author | frosch <frosch@openttd.org> | 2009-02-03 20:39:06 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-02-03 20:39:06 +0000 |
commit | 9c4c0ff3a190869c1a217427584d5d6034373c07 (patch) | |
tree | 1a670a0075445d14655ef1c60c222a4c65b69612 /src/aircraft_cmd.cpp | |
parent | ff2720c56ed1a40f9d03b73a73f38e60976f63a5 (diff) | |
download | openttd-9c4c0ff3a190869c1a217427584d5d6034373c07.tar.xz |
(svn r15326) -Fix: Old-ai-ishm when refitting vehicles.
Diffstat (limited to 'src/aircraft_cmd.cpp')
-rw-r--r-- | src/aircraft_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index 587cf2453..881f0339d 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -570,7 +570,7 @@ CommandCost CmdRefitAircraft(TileIndex tile, uint32 flags, uint32 p1, uint32 p2, _returned_refit_capacity = pass; CommandCost cost; - if (IsHumanCompany(v->owner) && new_cid != v->cargo_type) { + if (new_cid != v->cargo_type) { cost = GetRefitCost(v->engine_type); } |