From 27d23da5ff4c99a6d517bd6091acaa0bae3e0830 Mon Sep 17 00:00:00 2001 From: Sveinung Kvilhaugsvik Date: Tue, 13 Jul 2021 12:09:56 +0200 Subject: [PATCH] SDL2 client: implement action_selection_refresh() See osdn #42622 --- client/gui-sdl2/action_dialog.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/gui-sdl2/action_dialog.c b/client/gui-sdl2/action_dialog.c index 4152f34edd..77940aea06 100644 --- a/client/gui-sdl2/action_dialog.c +++ b/client/gui-sdl2/action_dialog.c @@ -1232,7 +1232,11 @@ void action_selection_refresh(struct unit *actor_unit, struct extra_type *target_extra, const struct act_prob *act_probs) { - /* TODO: port me. */ + action_selection_close(); + popup_action_selection(actor_unit, + target_city, target_unit, + target_tile, target_extra, + act_probs); } /**********************************************************************//** -- 2.30.2