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

Using level tool in scenario editor makes tiles brown. #2002

Closed
DorpsGek opened this issue May 10, 2008 · 1 comment
Closed

Using level tool in scenario editor makes tiles brown. #2002

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

Comments

@DorpsGek
Copy link
Member

Roujin opened the ticket and wrote:

When terraforming in the scenario editor, normally the land shouldn't get brown. But when using the level land tool, it does get brown.

I'm attaching a patch with my suggested fix of this bug: if we check for GM_EDITOR in CmdTerraformLand (terraform_cmd.cpp) instead of in the gui code, all terraforming actions are guaranteed to cause land to be green if we are in the editor. (also future ones, if my drag&draw patch is to be accepted)

Attachments

Reported version: trunk
Operating system: All


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

Belugas closed the ticket.

Reason for closing: Fixed

r13177


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

@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