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

Blank box on cost estimation when levelling a leveled area. r14547 #2392

Closed
DorpsGek opened this issue Oct 30, 2008 · 1 comment
Closed

Blank box on cost estimation when levelling a leveled area. r14547 #2392

DorpsGek opened this issue Oct 30, 2008 · 1 comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

NukeBuster opened the ticket and wrote:

Blank box on cost estimation when levelling a leveled area. r14547

As the CmdLevelArea never generates an error anyway, the easiest fix will probably be as in the diff.

Index: src/terraform_cmd.cpp

--- src/terraform_cmd.cpp (revision 14547)
+++ src/terraform_cmd.cpp (working copy)
@@ -395,5 +395,5 @@
}
} END_TILE_LOOP(tile2, size_x, size_y, tile)

- return (cost.GetCost() == 0) ? CMD_ERROR : cost;
+ return cost;
}

Attachments

Reported version: trunk
Operating system: All


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

Rubidium closed the ticket.

Reason for closing: Fixed

In r14582.


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

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) 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: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant