diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-09 21:27:53 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-09 21:53:12 +0100 |
commit | 8c37dc0c5e6f4e588d37f5900764125716bc7f77 (patch) | |
tree | 7fbddeceef42e306142bdcda4c365fd8277fe955 /players.h | |
parent | b4038deb223e309fe886c71b3765a7e82e65f9bb (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -10,6 +10,8 @@ struct character_t { struct team_t *team; + int idx; + enum character_class_t class_; char *name; |