1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 08:52:40 +01:00

Codefix: Comment style. (#14064)

This commit is contained in:
frosch
2025-04-21 17:25:09 +02:00
committed by GitHub
parent 5b2754fdee
commit 2a62eea005
29 changed files with 64 additions and 62 deletions

View File

@@ -1477,7 +1477,7 @@ static void FormatString(StringBuilder &builder, std::string_view str_arg, Strin
case SCC_VELOCITY: { // {VELOCITY}
int64_t arg = args.GetNextParameter<int64_t>();
// Unpack vehicle type from packed argument to get desired units.
/* Unpack vehicle type from packed argument to get desired units. */
VehicleType vt = static_cast<VehicleType>(GB(arg, 56, 8));
const auto &x = GetVelocityUnits(vt);
auto tmp_params = MakeParameters(ConvertKmhishSpeedToDisplaySpeed(GB(arg, 0, 56), vt), x.decimal_places);