From c777158d3a96adf2fd343db2ec3dd08e55ffb844 Mon Sep 17 00:00:00 2001 From: Sveinung Kvilhaugsvik Date: Wed, 3 Feb 2021 21:15:58 +0100 Subject: [PATCH 1/2] Get rid of action_id_would_be_blocked_by(). Remove "access by an action id rather than as an action structure"-macro action_id_would_be_blocked_by(). See osdn #41471 --- common/actions.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/actions.h b/common/actions.h index 180c2439a4..12eb785bd7 100644 --- a/common/actions.h +++ b/common/actions.h @@ -593,9 +593,6 @@ bool action_distance_inside_max(const struct action *action, bool action_would_be_blocked_by(const struct action *blocked, const struct action *blocker); -#define action_id_would_be_blocked_by(blocked_id, blocker_id) \ - action_would_be_blocked_by(action_by_number(blocked_id), \ - action_by_number(blocker_id)) int action_get_role(const struct action *paction); #define action_id_get_role(act_id) \ -- 2.20.1