From 6f5f3101b6e785b88de2470babdb3b5a1a61f054 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 11 Feb 2006 09:24:51 +0000 Subject: (svn r3588) - Refit: Use only one global to return the refit capacity rather than one per vehicle type. --- aircraft_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aircraft_cmd.c') 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) { -- cgit v1.2.3-70-g09d2