Project

General

Profile

Actions

Bug #1276

open

Add corner roads for ESTYLE_ROAD_ALL_COMBINED

Added by Jakob Ilves 3 days ago. Updated 3 days ago.

Status:
In Review
Priority:
Normal
Category:
client-common
Target version:
Start date:
03/31/2025
Due date:
% Done:

0%

Estimated time:

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

Actions

Also available in: Atom PDF