Codechange: Use null pointer literal instead of the NULL macro
This commit is contained in:
committed by
Michael Lutz
parent
3b4f224c0b
commit
7c8e7c6b6e
@@ -44,7 +44,7 @@ struct PBSTileInfo {
|
||||
PBSTileInfo(TileIndex _t, Trackdir _td, bool _okay) : tile(_t), trackdir(_td), okay(_okay) {}
|
||||
};
|
||||
|
||||
PBSTileInfo FollowTrainReservation(const Train *v, Vehicle **train_on_res = NULL);
|
||||
PBSTileInfo FollowTrainReservation(const Train *v, Vehicle **train_on_res = nullptr);
|
||||
bool IsSafeWaitingPosition(const Train *v, TileIndex tile, Trackdir trackdir, bool include_line_end, bool forbid_90deg = false);
|
||||
bool IsWaitingPositionFree(const Train *v, TileIndex tile, Trackdir trackdir, bool forbid_90deg = false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user