summaryrefslogtreecommitdiff
path: root/ship_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-06 18:45:28 +0000
committertron <tron@openttd.org>2005-01-06 18:45:28 +0000
commit8b7c1e94e19425b5aee91dbf938d1f7efda2b521 (patch)
tree64071b84d0e82fc090b093f501dd16dcaf282faa /ship_cmd.c
parent2c9cd8f68c1bf491e4c887de2899f0e0601c297c (diff)
downloadopenttd-8b7c1e94e19425b5aee91dbf938d1f7efda2b521.tar.xz
(svn r1402) Trim trailing whitespace
Diffstat (limited to 'ship_cmd.c')
-rw-r--r--ship_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index 52e710d64..d336031bb 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -996,7 +996,7 @@ int32 CmdRefitShip(int x, int y, uint32 flags, uint32 p1, uint32 p2)
v->u.ship.state != 0x80)
return_cmd_error(STR_980B_SHIP_MUST_BE_STOPPED_IN);
}
-
+
cost = 0;
if (IS_HUMAN_PLAYER(v->owner) && (byte)p2 != v->cargo_type) {
cost = _price.ship_base >> 7;
@@ -1006,7 +1006,7 @@ int32 CmdRefitShip(int x, int y, uint32 flags, uint32 p1, uint32 p2)
//autorefitted ships wants to keep the cargo
//it will be checked if the cargo is valid in CmdRenewVehicle
if (!(SkipStoppedInDepotCheck))
- v->cargo_count = 0;
+ v->cargo_count = 0;
v->cargo_type = (byte)p2;
InvalidateWindow(WC_VEHICLE_DETAILS, v->index);
}