From a5ab395183ec537e2ecc47090ded3df4b6a70b91 Mon Sep 17 00:00:00 2001 From: Sveinung Kvilhaugsvik Date: Sat, 3 Apr 2021 11:19:22 +0200 Subject: [PATCH] Remove unnecessary restriction. For quite a while key_unit_action_select() has set server side client state calling up an action selection directly. This removes the need for banning it while another action selection dialog is open. See osdn #41920 --- client/control.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/client/control.c b/client/control.c index 64b734f237..427f338ec0 100644 --- a/client/control.c +++ b/client/control.c @@ -3180,11 +3180,6 @@ void key_unit_action_select(void) { struct tile *ptile; - if (!can_ask_server_for_actions()) { - /* Looks like another action selection dialog is open. */ - return; - } - unit_list_iterate(get_units_in_focus(), punit) { if (utype_may_act_at_all(unit_type_get(punit)) && (ptile = unit_tile(punit))) { -- 2.20.1