Ticket #47455

sdl2: Citydlg unit orders menu never shown

Date d'ouverture: 2023-02-20 07:23 Dernière mise à jour: 2023-03-21 20:36

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
3

Détails

sdl2-client units_orders_city_dlg_callback() enters block that is supposed to open orders menu only for PRESSED_EVENTs. Early in the block is another check for PRESSED_EVENT that cause city dialog to close with the unit in focus on main map. As event can't be simultaneously both PRESSED_EVENT and not-PRESSED_EVENT, the orders menu part of the code block is dead code.

Ticket History (3/7 Histories)

2023-02-20 07:23 Updated by: cazfi
  • New Ticket "sdl2: Citydfg unit orders menu never shown" created
2023-02-20 07:39 Updated by: cazfi
  • Summary Updated
2023-03-18 23:26 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
Commentaire

Even S2_6 patch attached, fixing also sdl-client.

2023-03-21 20:36 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

Please login to add comment to this ticket » Connexion