Bug #1276
openAdd corner roads for ESTYLE_ROAD_ALL_COMBINED
0%
Description
When working with a custom tileset with railroad that used ESTYLE_ROAD_ALL_COMBINED, it turned out that corner roads for railroad was never rendered even if they were specified in the tileset (and they rendered just fine fine when the same tileset railroads previously were ESTYLE_ROAD_PARITY_COMBINED).
I did a very small change to the file client/tilespec.c which fixed this. Small means just two lines of which one were a comment.
As far as I can tell, this fixed the issue without breaking the rendering of tilesets using ESTYLE_ROAD_ALL_SEPARATE or ESTYLE_ROAD_PARITY_COMBINED.
The change was done to the 3.0.9 source, but as far as I can tell, the context diff will work with client/tilespec.c in 3.1.5 and later as well. (I hope that I am right)
Files
Updated by Marko Lindqvist 2 days ago
- File 0027-Fix-corner-road-graphics-for-RoadAllCombined.patch 0027-Fix-corner-road-graphics-for-RoadAllCombined.patch added
- Status changed from New to In Review
- Assignee set to Marko Lindqvist
- Version of the patch with debug printf() removed, and extra space in the comment removed.
Applies to all branches, including S2_6.