role_index
static int role_index(int);
if ((i = role_index(pc)) >= 0)
if ((i = role_index(pc)) >= 0) {