forked from mirror/OpenTTD
(svn r1402) Trim trailing whitespace
This commit is contained in:
@@ -1072,14 +1072,14 @@ int32 CmdRefitRailVehicle(int x, int y, uint32 flags, uint32 p1, uint32 p2)
|
||||
p2 = p2 & 0xFF;
|
||||
|
||||
SET_EXPENSES_TYPE(EXPENSES_TRAIN_RUN);
|
||||
|
||||
|
||||
v = &_vehicles[p1];
|
||||
if (!CheckOwnership(v->owner) || ((CheckStoppedInDepot(v) < 0) && !(SkipStoppedInDepotCheck)))
|
||||
return CMD_ERROR;
|
||||
|
||||
cost = 0;
|
||||
num = 0;
|
||||
|
||||
|
||||
do {
|
||||
/* XXX: We also refit all the attached wagons en-masse if they
|
||||
* can be refitted. This is how TTDPatch does it. TODO: Have
|
||||
|
Reference in New Issue
Block a user