From e8b35eae36f56492069d8f242c078ec5275d1a0b Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Thu, 8 Jan 2015 16:53:35 +0100 Subject: handle the selection of a target in a generic way. we do not split the code of the selection of a target anymore. Each action now does a very simple thing and as much efficiently as possible. every old function that are not used anymore have been removed. Signed-off-by: Olivier Gayot --- entry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'entry.h') diff --git a/entry.h b/entry.h index 00b58e9..066cf4a 100644 --- a/entry.h +++ b/entry.h @@ -14,7 +14,7 @@ struct entry_t { struct { void *data; - enum action_state_t (*f)(SURFACES *, POSITIONS *, struct team_t *, struct team_t *, void *data); + void (*f)(SURFACES *, POSITIONS *, struct character_t *, struct character_t *, void *data); }; }; }; -- cgit v1.2.3