Codechange: switch our codebase to C++20
This commit is contained in:

committed by
Patric Stout

parent
fd59393899
commit
bb49112784
@@ -34,5 +34,5 @@
|
||||
if (!IsValidWaypoint(waypoint_id)) return false;
|
||||
if (!HasExactlyOneBit(waypoint_type)) return false;
|
||||
|
||||
return (::Waypoint::Get(waypoint_id)->facilities & waypoint_type) != 0;
|
||||
return (::Waypoint::Get(waypoint_id)->facilities & static_cast<StationFacility>(waypoint_type)) != 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user