Update of bug #21950 (project freeciv):
Category: None => general
Status: None => Ready For Test
Planned Release: => 2.4.3, 2.5.0, 2.6.0
_______________________________________________________
Follow-up Comment #5:
When I wrote that patch I added the parenthesis thinking it would only
increase readability. Now I realized that it actually fixes rather fundamental
bug - identity numbers never wrapped. It was always added 1 (1 % big number)
instead of getting wrapped every "big number" values.
So the problem is not only when all the identity numbers are in use
simultaneously (2^16 units alive), but when there has needed that many
identity numbers during the entire game.
My plan is to introduce fix to the wrapping problem to stable branches, and in
TRUNK also make the max value 18 bits.
Patch for stable branches attached.
(file #21365)
_______________________________________________________
Additional Item Attachment:
File name: IdentityWrap-S2_5.patch Size:0 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21950>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev