diff options
author | tron <tron@openttd.org> | 2005-01-23 13:09:35 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-23 13:09:35 +0000 |
commit | 81ee2d931b8c8f03e31bd98217c97a02fa2e35b0 (patch) | |
tree | 8a25bb5502579aea9f2dd0b2af81bd353a8af767 /train_cmd.c | |
parent | 5156f6b360b1611ca9220ae3ef091b7f7c17d645 (diff) | |
download | openttd-81ee2d931b8c8f03e31bd98217c97a02fa2e35b0.tar.xz |
(svn r1610) Remove trailing whitespace (last time ever, i hope)
Diffstat (limited to 'train_cmd.c')
-rw-r--r-- | train_cmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/train_cmd.c b/train_cmd.c index d862e21da..debea41c8 100644 --- a/train_cmd.c +++ b/train_cmd.c @@ -367,7 +367,7 @@ int32 EstimateTrainCost(const RailVehicleInfo *rvi) return (rvi->base_cost * (_price.build_railvehicle >> 3)) >> 5; } -void AddRearEngineToMultiheadedTrain(Vehicle *v, Vehicle *u, bool building) +void AddRearEngineToMultiheadedTrain(Vehicle *v, Vehicle *u, bool building) { u->direction = v->direction; u->owner = v->owner; @@ -387,7 +387,7 @@ void AddRearEngineToMultiheadedTrain(Vehicle *v, Vehicle *u, bool building) if (building) v->next = u; u->engine_type = v->engine_type; u->build_year = v->build_year; - if (building) + if (building) v->value = u->value = v->value >> 1; else u->value = v->value; @@ -2399,7 +2399,7 @@ static void HandleCrashedTrain(Vehicle *v) ChangeTrainDirRandomly(v); } - if (state >= 4440 && !(v->tick_counter&0x1F)) + if (state >= 4440 && !(v->tick_counter&0x1F)) DeleteLastWagon(v); } |