summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-02-11 09:24:51 +0000
committerpeter1138 <peter1138@openttd.org>2006-02-11 09:24:51 +0000
commit6f5f3101b6e785b88de2470babdb3b5a1a61f054 (patch)
treeeaea322e6b750f6731f87421a6ea3798e790f93e /aircraft_cmd.c
parent1097ec2b62fd1f873cf055794123dd8067278d56 (diff)
downloadopenttd-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.c2
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) {