core: rework unit_active_state_to_glyph() to use a translation table
Let's make this a bit more readable by implementing this via a translation table, indexed by the state.
Loading
Please register or sign in to comment
Let's make this a bit more readable by implementing this via a translation table, indexed by the state.