summaryrefslogtreecommitdiff
path: root/players.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-07 23:38:45 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-07 23:56:39 +0100
commita24acb373d67048daa7e68e72418a5d6ef5841dd (patch)
treed736bccb65609fb42cbe9181c83ef4616ebd382e /players.h
parentf05eaa46329faf7c9c1bcd061f091a69289ba459 (diff)
added the current user to the team structure
the current character is generated randomly at the initialization of the team. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'players.h')
-rw-r--r--players.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/players.h b/players.h
index 6097d2c..7e6a516 100644
--- a/players.h
+++ b/players.h
@@ -47,6 +47,7 @@ struct character_t {
struct team_t {
bool cpu;
int chr_cnt;
+ int chr_cur;
char *name;