Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tram tracks at level crossings with rail types #3911

Closed
DorpsGek opened this issue Jun 28, 2010 · 2 comments
Closed

tram tracks at level crossings with rail types #3911

DorpsGek opened this issue Jun 28, 2010 · 2 comments
Labels
component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

planetmaker opened the ticket and wrote:

On level crossings when rail types are active, none of the existing rail type newgrfs known to me (UK Railway tracks, NuTracks, SwedishRails) show proper level crossings with tram tracks underlayed to the level crossing sprites of the rail track set (see attached screenshot with UK rail ways) and visible attached savegame.

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/3911
@DorpsGek
Copy link
Member Author

Yexo wrote:

From the code rail_cmd.cpp:429 in CmdBuildSingleRail

  		switch (roadtypes) {
  			default: break;
  			case ROADTYPES_TRAM:
  				/* Tram crossings must always have road. */
  				if (flags & DC_EXEC) SetRoadOwner(tile, ROADTYPE_ROAD, _current_company);
  				roadtypes |= ROADTYPES_ROAD;
  				break;

This comment was imported from FlySpray: https://bugs.openttd.org/task/3911#comment8207

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r20036


This comment was imported from FlySpray: https://bugs.openttd.org/task/3911

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) component: NewGRF This issue is related to NewGRFs bug labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant