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

Conditional protection (CB143) do not work correctly #2083

Closed
DorpsGek opened this issue Jun 14, 2008 · 2 comments
Closed

Conditional protection (CB143) do not work correctly #2083

DorpsGek opened this issue Jun 14, 2008 · 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

George opened the ticket and wrote:

R13485M

My tests show, that callback 143 do not work as intended. This code for stalinka building intends, that the last stalinka in town will remain forever.

// Conditional protection. Protect the last one in town, age 50 years
1022 * 14 02 07 FA 81 41 00 FF 01 01 80 00 32 02 00
1023 * 14 02 07 FA 81 44 00 FF 01 01 80 00 01 FA 00

but as you can see in the save, "Mintown" city has lost his last stalinka! I did not do it, according to CB 143 description, AI and towns will never destroy protected building, so, it should stay. But it was destroyed!

Attachments

Reported version: trunk
Operating system: Windows


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

George wrote:

The grf

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/2083#comment4296

@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Fixed

in r13518


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

@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 6, 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