Project

Profile

Help

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...

Bug #763882

Global warming / Nuclear winter can be occurred at 0 accumulated value

Added by Akechi . about 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Server
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Global warming / Nuclear winter can be occurred at 0 accumulated value.
e.g. 100x100 map's Global warming threshold(warminglevel) is (10000 + 499) / 500 = 20,
so 20 tiles of Pollution is safe. (clicked info panel says: "Global warming chance: 0% (+0%/turn)")
but in fact, there are 1 / 500 chance to occur Global warming.
if there are 19 tiles of Pollution, info panel says same as above, but there are no chance to occur Global warming.

From http://freeciv.wikia.com/wiki/Forum:Some_tiny_issues (10):

server\srv_main.c
update_environmental_upset
if (fc_rand((map_num_tiles() + 19) / 20) <= *accum) {


Related issues

Blocks Freeciv - Task #656706: Handle http://freeciv.wikia.com/wiki/Forum:Some_tiny_issuesNew

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#2 Updated by Anonymous about 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Anonymous

#3 Updated by Anonymous about 3 years ago

  • Status changed from Assigned to Resolved

#4 Updated by Anonymous about 3 years ago

  • Status changed from Resolved to Closed

#5 Updated by Jacob Nevins about 3 years ago

  • Blocks Task #656706: Handle http://freeciv.wikia.com/wiki/Forum:Some_tiny_issues added

Also available in: Atom PDF