Andrettin / Wyrmsun

Strategy game based on history, mythology and fiction
http://andrettin.github.io/
GNU General Public License v2.0
301 stars 47 forks source link

Blank ability icon #124

Closed johndh closed 7 years ago

johndh commented 8 years ago

My hero's Precise Shot icon appears normally when he's selected alone. When he is selected first, then another skutan is selected, the icon turns either green or black. If a unit (skutan or not) is selected first, and then my hero, the icon is not shown (this is the correct behavior, I believe?). If my hero and an erala are selected together, the icon is not shown.

So it appears to only be an issue if a hero with an ability is selected, and then another unit that could learn that ability.

screenshot_2016-09-10_20-36-23 screenshot_2016-09-10_20-42-34

Andrettin commented 7 years ago

Thanks for the detailed explanation :)

I've solved the problem now: https://github.com/Andrettin/Wyrmgus/commit/769905db25d6b8d5b00b36e6f8c8103c9d8eecea