diff options
author | peter1138 <peter1138@openttd.org> | 2006-02-11 09:24:51 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-02-11 09:24:51 +0000 |
commit | 6f5f3101b6e785b88de2470babdb3b5a1a61f054 (patch) | |
tree | eaea322e6b750f6731f87421a6ea3798e790f93e /aircraft_cmd.c | |
parent | 1097ec2b62fd1f873cf055794123dd8067278d56 (diff) | |
download | openttd-6f5f3101b6e785b88de2470babdb3b5a1a61f054.tar.xz |
(svn r3588) - Refit: Use only one global to return the refit capacity rather than one per vehicle type.
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r-- | aircraft_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c index 75aacb6a9..5d2b32c2c 100644 --- a/aircraft_cmd.c +++ b/aircraft_cmd.c @@ -498,7 +498,7 @@ int32 CmdRefitAircraft(int x, int y, uint32 flags, uint32 p1, uint32 p2) pass /= 4; break; } - _aircraft_refit_capacity = pass; + _returned_refit_capacity = pass; cost = 0; if (IS_HUMAN_PLAYER(v->owner) && new_cid != v->cargo_type) { |