forked from mirror/OpenTTD
(svn r6712) -Code cleanup: renamed buildtrain_d to buildvehicle_d as it's used for all vehicle types
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user