待辦事項 #47455

sdl2: Citydlg unit orders menu never shown

啟用日期: 2023-02-20 07:23 最後更新: 2023-03-21 20:36

回報者:
負責人:
類型:
狀態:
關閉
元件:
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
3

細節

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 (無) to cazfi
  • 處理結果 Update from to Accepted
評語

Even S2_6 patch attached, fixing also sdl-client.

2023-03-21 20:36 Updated by: cazfi
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

編輯

Please login to add comment to this ticket » 登入