diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2018-10-28 02:17:36 +0000 |
---|---|---|
committer | frosch <github@elsenhans.name> | 2018-10-31 12:35:54 +0100 |
commit | f5b1115039e41d7f75f91e7355003f10dd01b352 (patch) | |
tree | c777655761bcdca584fe0ff5c2f0e87fc2ef14e8 /src/autoreplace_cmd.cpp | |
parent | b9273cbe07aa47daa8a9d2411062dfd7fead27de (diff) | |
download | openttd-f5b1115039e41d7f75f91e7355003f10dd01b352.tar.xz |
Doc: Lots and lots of doxymentation fixes
Diffstat (limited to 'src/autoreplace_cmd.cpp')
-rw-r--r-- | src/autoreplace_cmd.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/autoreplace_cmd.cpp b/src/autoreplace_cmd.cpp index 96eada734..48f818c94 100644 --- a/src/autoreplace_cmd.cpp +++ b/src/autoreplace_cmd.cpp @@ -32,7 +32,6 @@ extern void ChangeVehicleViewWindow(VehicleID from_index, VehicleID to_index); * Figure out if two engines got at least one type of cargo in common (refitting if needed) * @param engine_a one of the EngineIDs * @param engine_b the other EngineID - * @param type the type of the engines * @return true if they can both carry the same type of cargo (or at least one of them got no capacity at all) */ static bool EnginesHaveCargoInCommon(EngineID engine_a, EngineID engine_b) @@ -237,7 +236,7 @@ static CargoID GetNewCargoTypeForReplace(Vehicle *v, EngineID engine_type, bool * @param v The vehicle to find a replacement for * @param c The vehicle's owner (it's faster to forward the pointer than refinding it) * @param always_replace Always replace, even if not old. - * @param [out] e the EngineID of the replacement. INVALID_ENGINE if no replacement is found + * @param[out] e the EngineID of the replacement. INVALID_ENGINE if no replacement is found * @return Error if the engine to build is not available */ static CommandCost GetNewEngineType(const Vehicle *v, const Company *c, bool always_replace, EngineID &e) |