(svn r6712) -Code cleanup: renamed buildtrain_d to buildvehicle_d as it's used for all vehicle types

This commit is contained in:
bjarni
2006-10-10 07:56:23 +00:00
parent 28d11c2bda
commit 08789dd3e8
6 changed files with 143 additions and 143 deletions

View File

@@ -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);
}