summaryrefslogtreecommitdiff
path: root/rail_cmd.c
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-10-10 07:56:23 +0000
committerbjarni <bjarni@openttd.org>2006-10-10 07:56:23 +0000
commit08789dd3e851feffd380fc8530dbe357d010c7f1 (patch)
tree647e28c1db02554590cec07a3ff06920e2a1fa7d /rail_cmd.c
parent28d11c2bdae8eb836b0ce3dc0273a0a783f1a54f (diff)
downloadopenttd-08789dd3e851feffd380fc8530dbe357d010c7f1.tar.xz
(svn r6712) -Code cleanup: renamed buildtrain_d to buildvehicle_d as it's used for all vehicle types
Diffstat (limited to 'rail_cmd.c')
-rw-r--r--rail_cmd.c2
1 files changed, 1 insertions, 1 deletions
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);
}