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

modified client can cause assert when removing road #1692

Closed
DorpsGek opened this issue Jan 24, 2008 · 1 comment
Closed

modified client can cause assert when removing road #1692

DorpsGek opened this issue Jan 24, 2008 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

SmatZ opened the ticket and wrote:

r10053 and newer

issuing CMD_REMOVE_ROAD with p2 bit 6 set may cause an assertion because test and exec run will differ when removing road. (test run - cost is returned, exec run - fails, there is tram track)
Client has to be modified to issue this command. (remove road from rail+road+tram crossing with p2.bit6 = 1)

There are several ways to solve this - forbid CMD_REMOVE_ROAD for network, use some helper function called with special parameter from CmdRemoveLongRoad, or allow removing more road types in one command (or some other way to fix clearing crossing than in r10053)

Reported version: trunk
Operating system: All


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

SmatZ closed the ticket.

Reason for closing: Fixed

r11998


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

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

No branches or pull requests

1 participant