diff options
Diffstat (limited to 'menuchoixpersos.c')
-rw-r--r-- | menuchoixpersos.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/menuchoixpersos.c b/menuchoixpersos.c index 0ce0360..3eb77a9 100644 --- a/menuchoixpersos.c +++ b/menuchoixpersos.c @@ -16,6 +16,7 @@ static void init_team_players(struct team_t *team, bool left, chr->name = "Player"; chr->team = team; + chr->idx = i; chr->cpu = team->cpu; chr->class_ = classes[i]; chr->alive = true; |