CitiesSkylinesMods / TMPE

Cities: Skylines Traffic Manager: President Edition
https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252
MIT License
574 stars 85 forks source link

Modernise several uses of `GetSortedLanes()` #1490

Closed originalfoo closed 2 years ago

originalfoo commented 2 years ago

Got tired of seeing the obsolete warnings on big chunks of extSegmentManager.GetSortedLanes() so started porting some over to the newer NetSegment extension.

I'm doing these by hand as there seems to be lots of little fringe issues in code where GetSortedLanes() is used - for example, sometimes we don't need the lanes sorting (eg. if we're just counting the number of returned lanes).

kianzarrin commented 2 years ago

code looks good.