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

fix for calculation min. profit #24

Closed
DorpsGek opened this issue Dec 10, 2005 · 2 comments
Closed

fix for calculation min. profit #24

DorpsGek opened this issue Dec 10, 2005 · 2 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay

Comments

@DorpsGek
Copy link
Member

Graphite opened the ticket and wrote:

This patch fixes two issues:

- In the detailed performance rating, the min. profit would be set to the required value for the min. profit (10000) instead of 0 if the player had no vehicles yet.

- If all vehicles profits are higher than the min. profit value, it shows the maximum minimum profit instead of just the required min. profit value (so for example 25000/10000 instead of 10000/10000). This to make the profit window a bit more consistent as the others already do this.

Attachments

Reported version: trunk
Operating system: All


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

Graphite wrote:

Whoops. Silly me. I forgot to take into account that the player may have vehicles, but that those vehicles won't count towards the min. profit yet. I've changed it now so that the min profit is always 0, unless the player has a vehicle of the proper age that actually makes a profit.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/24#comment29

@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 6, 2006

TrueBrain closed the ticket.

Reason for closing: Implemented

Partly added as r3377


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

@DorpsGek DorpsGek closed this as completed Jan 6, 2006
@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay 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/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay
Projects
None yet
Development

No branches or pull requests

1 participant