* Checks if a Track is valid. * * @param track The value to check * @return true if the given value is a valid track. * @note Use this in an assert() */
| 26 | * @note Use this in an assert() |
| 27 | */ |
| 28 | inline bool IsValidTrack(Track track) |
| 29 | { |
| 30 | return track < TRACK_END; |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * Checks if a Trackdir is valid for road vehicles. |
no outgoing calls
no test coverage detected