Reorder default color list to match the tag order in core/team-colors.cfg

This fixes the underlying cause of bug# 25462. The index disparity causes incorrect results if any index
from this list was used for coloring.
This commit is contained in:
Charles Dang 2017-03-11 14:46:37 +11:00
parent 05f9f00289
commit 4d62f42817

View file

@ -54,7 +54,10 @@
partial_orb_color="brightorange" partial_orb_color="brightorange"
moved_orb_color="red" moved_orb_color="red"
default_color_list="red,blue,green,purple,orange,black,white,brown,teal" # NOTE: this should correspond with the order these corresponding [color_range] tags
# appear in core/team-colors.cfg or else RC any index from this list used to
# recolor a sprite will not produce the correct color.
default_color_list="red,blue,green,purple,black,brown,orange,white,teal"
[/colors] [/colors]
[images] [images]