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

@@ -526,7 +526,7 @@ bool GetIfClassHasNewStopsByType(const RoadStopClass *roadstopclass, RoadStopTyp
*/
bool GetIfStopIsForType(const RoadStopSpec *roadstopspec, RoadStopType rs, RoadType roadtype)
{
// The roadstopspec is nullptr, must be the default station, always return true.
/* The roadstopspec is nullptr, must be the default station, always return true. */
if (roadstopspec == nullptr) return true;
if (roadstopspec->flags.Test(RoadStopSpecFlag::RoadOnly) && !RoadTypeIsRoad(roadtype)) return false;