Function client_manager_promote(client_manager_t *, size_t)¶
Defined in File client_manager.c
Function Documentation¶
-
client_state_t *client_manager_promote(client_manager_t *cm, size_t idx)¶
MUST set team_id BEFORE promoting:
client->team_id = TEAM_GUI; segment_promote(cm, client->idx);
-> moved to the gui section (will also change the id of 1 player, for contrainsts)