From f9b453722881a1bc92711df4012f33efd541d3a7 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. --- train_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'train_cmd.c') diff --git a/train_cmd.c b/train_cmd.c index 06cc30855..bb6b97e3d 100644 --- a/train_cmd.c +++ b/train_cmd.c @@ -1728,7 +1728,7 @@ int32 CmdRefitRailVehicle(int x, int y, uint32 flags, uint32 p1, uint32 p2) } } while ( (v=v->next) != NULL ); - _returned_refit_amount = num; + _returned_refit_capacity = num; return cost; } -- cgit v1.2.3-54-g00ecf