Ticket #47455

sdl2: Citydlg unit orders menu never shown

오픈 날짜: 2023-02-20 07:23 마지막 업데이트: 2023-03-21 20:36

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
3

Details

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
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
댓글 올리기

Even S2_6 patch attached, fixing also sdl-client.

2023-03-21 20:36 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login