From b37bd15492ffa012d5a7911977ebcb3fe2c04530 Mon Sep 17 00:00:00 2001 From: Sveinung Kvilhaugsvik Date: Tue, 13 Jul 2021 12:09:56 +0200 Subject: [PATCH 2/2] 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 139a9144c4..a422cf1312 100644 --- a/client/gui-sdl2/action_dialog.c +++ b/client/gui-sdl2/action_dialog.c @@ -1834,7 +1834,11 @@ void action_selection_refresh(struct unit *actor_unit, struct tile *target_tile, const struct act_prob *act_probs) { - /* TODO: port me. */ + action_selection_close(); + popup_action_selection(actor_unit, + target_city, target_unit, + target_tile, + act_probs); } /**************************************************************** -- 2.30.2