summaryrefslogtreecommitdiff
path: root/train_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
commitf9b453722881a1bc92711df4012f33efd541d3a7 (patch)
treeeaea322e6b750f6731f87421a6ea3798e790f93e /train_cmd.c
parent6d855f3a538628b12fe1a54fd48759e193a04ea6 (diff)
downloadopenttd-f9b453722881a1bc92711df4012f33efd541d3a7.tar.xz
(svn r3588) - Refit: Use only one global to return the refit capacity rather than one per vehicle type.
Diffstat (limited to 'train_cmd.c')
-rw-r--r--train_cmd.c2
1 files changed, 1 insertions, 1 deletions
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;
}