mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 19:03:52 +00:00

These are leftovers from the original implementation of the disengage orb, when it was a new color for the single-color orb. During the review process it became the two-color design, but these parts were left in. The value of orb_status_helper::get_orb_color(orb_status::disengaged) is used (both before and after this commit) by the minimap; this commit changes get_orb_color to return the partial_color() directly. The result will be the same as before, because disengage_color() returned the same as partial_color(). Prior to this commit that was done by giving both orbs the same value in game_config.cfg. If the advanced preference to change orbs colors was used, the value chosen for the partial orb was passed to set_disengage_color() too.