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:

  <http://gna.org/bugs/?20055>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to