Follow-up Comment #1, bug #20055 (project freeciv):

The change that has triggered this is in how representative icon of road type
(which was one of the special types in earlier versions) for editor menu is
constructed. Earlier versions iterated over sprites until they found legal
one. 2.5 iterates over them all, and add all legal ones. This iteration goes
far over legal bounds (legal: 2^(dirs / 2), used: 2^dirs). The bug is in
principle in old code too, it would go over legal bounds if no legal sprite is
found, causing iteration to abort, before.


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to