summaryrefslogtreecommitdiff
path: root/players.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-09 21:27:53 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-09 21:53:12 +0100
commit8c37dc0c5e6f4e588d37f5900764125716bc7f77 (patch)
tree7fbddeceef42e306142bdcda4c365fd8277fe955 /players.h
parentb4038deb223e309fe886c71b3765a7e82e65f9bb (diff)
select a target using a structure instead of an index
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'players.h')
-rw-r--r--players.h2
1 files changed, 2 insertions, 0 deletions
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;