From 8c37dc0c5e6f4e588d37f5900764125716bc7f77 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 9 Jan 2015 21:27:53 +0100 Subject: select a target using a structure instead of an index Signed-off-by: Olivier Gayot --- players.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'players.h') diff --git a/players.h b/players.h index 039f53e..062bde5 100644 --- a/players.h +++ b/players.h @@ -10,6 +10,8 @@ struct character_t { struct team_t *team; + int idx; + enum character_class_t class_; char *name; -- cgit v1.2.3