(svn r3588) - Refit: Use only one global to return the refit capacity rather than one per vehicle type.

This commit is contained in:
peter1138
2006-02-11 09:24:51 +00:00
parent 1097ec2b62
commit 6f5f3101b6
6 changed files with 5 additions and 6 deletions

View File

@@ -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) {