Import vehicle repair costs patch
Strip trailing whitespace http://www.tt-forums.net/viewtopic.php?p=1093268#p1093268
This commit is contained in:

committed by
Jonathan G Rennison

parent
224dcab437
commit
7537ae2a7e
@@ -133,6 +133,7 @@ CommandCost CmdBuildVehicle(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
|
||||
if (value.Succeeded() && flags & DC_EXEC) {
|
||||
v->unitnumber = unit_num;
|
||||
v->value = value.GetCost();
|
||||
v->repair_cost = value.GetCost();
|
||||
|
||||
InvalidateWindowData(WC_VEHICLE_DEPOT, v->tile);
|
||||
InvalidateWindowClassesData(GetWindowClassForVehicleType(type), 0);
|
||||
|
Reference in New Issue
Block a user