HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. "Read more...":https://support.plan.io/news/187
Actions
Bug #763881
closedPollution is placed 1% more than pollution value of city
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Pollution is placed 1% more than pollution value of city.
From http://freeciv.wikia.com/wiki/Forum:Some_tiny_issues (10):
server\cityturn.c
check_pollutionif (pcity->pollution != 0 && fc_rand(100) <= pcity->pollution) {
Files
Related issues
Updated by Jacob Nevins over 4 years ago
- Blocks Task #656706: Handle http://freeciv.wikia.com/wiki/Forum:Some_tiny_issues added
Updated by Anonymous over 4 years ago
- File city_pollution.patch city_pollution.patch added
- File city_pollution-s25.patch city_pollution-s25.patch added
- Status changed from New to Resolved
- Assignee set to Anonymous
Patches attached.
I removed also check for pcity->pollution != 0, but maybe it could stay to some give few cpu cycles , bc compiler doesnt need to check second statement after seeing first fails ( I'm not sure how expensive operation is rand())
Actions