Project

General

Profile

Bug #763882

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

Added by Akechi . over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Server
Target version:
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

History

#2 Updated by Anonymous over 1 year ago

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

#3 Updated by Anonymous over 1 year ago

  • Status changed from Assigned to Resolved

#4 Updated by Anonymous over 1 year ago

  • Status changed from Resolved to Closed

#5 Updated by Jacob Nevins over 1 year ago

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

Also available in: Atom PDF