1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 14:02:59 +01:00

Rename TD6MaxTrackElements to kTD6MaxTrackElements

This commit is contained in:
Harry Hopkinson
2024-06-06 20:40:27 +01:00
parent 1262ee633f
commit c63efa658f
2 changed files with 2 additions and 2 deletions

View File

@@ -262,7 +262,7 @@ ResultWithMessage TrackDesign::CreateTrackDesignTrack(TrackDesignState& tds, con
trackElement.x = newCoords->x;
trackElement.y = newCoords->y;
if (track_elements.size() > RCT2::Limits::TD6MaxTrackElements)
if (track_elements.size() > RCT2::Limits::kTD6MaxTrackElements)
{
return { false, STR_TRACK_TOO_LARGE_OR_TOO_MUCH_SCENERY };
}