From 08789dd3e851feffd380fc8530dbe357d010c7f1 Mon Sep 17 00:00:00 2001 From: bjarni Date: Tue, 10 Oct 2006 07:56:23 +0000 Subject: (svn r6712) -Code cleanup: renamed buildtrain_d to buildvehicle_d as it's used for all vehicle types --- rail_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rail_cmd.c') diff --git a/rail_cmd.c b/rail_cmd.c index 51b3a979b..877dec669 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -893,7 +893,7 @@ static int32 DoConvertRail(TileIndex tile, RailType totype, bool exec) /* Update build vehicle window related to this depot */ w = FindWindowById(WC_BUILD_VEHICLE, tile); if (w != NULL) { - WP(w,buildtrain_d).railtype = totype; + WP(w,buildvehicle_d).railtype = totype; SetWindowDirty(w); } -- cgit v1.2.3-54-g00ecf