Author Topic: 6 year old bug still present on Android (Using special abilities by any unit)  (Read 211 times)

Offline Dorten

  • Squaddie
  • *
  • Posts: 3
    • View Profile
This.

https://openxcom.org/forum/index.php?topic=6586.45

Reported as fixed in desktop version, but it's still there in Android version of 7.15

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9303
    • View Profile
I have discovered a bug in 5.1 version, that is not listed as fixed in this list. Yesterday I discovered it on Android and today I confirmed it on Windows version.

Effect: Using special abilities by any unit.

Required: A unit with a special ability that has a menu (X-COM Files "Attack Dog", XPirates "Bug"), any other unit.
How to replicate: Select the psionic unit. Move the map so, that the special ability icon is over the unit you want to use it.
                 Click the special ability icon. The menu for using the ability appears and the unit under the icon is selected.
                 Use one of the abilities from the menu. The newly selected unit uses it with all that means. (The selected unit is pays the
                 cost of the ability with correct percentages, the selecteded unit's stats are used and trained.)

                 It only happens with abilities that drop menus. If the ability does not have a menu, such as with  X-COM Files "Hybrid", the unit below the icon is not selected.

PC fix (25.12.2018):
- https://github.com/MeridianOXC/OpenXcom/commit/bebe26dcef926b641ae8f2bb025e9974609542a5

Merge to Android (11.01.2019):
- https://github.com/MeridianOXC/OpenXcom/commit/0de0a621c828b9884141333d2250a478ef24e0eb
- https://github.com/MeridianOXC/OpenXcom/commit/ff9e51012bf27cd1e88a00e380a2545d1b74b507
« Last Edit: January 29, 2025, 10:28:35 am by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9303
    • View Profile
If anybody knows how to fix it, feel free to tell me or make a PR.