else if (opt == 2) {
skipCounter++;
if (skipCounter == nPlayers) {
return -1;
}
arrSkip[i-1] = i;
}
So when someone press opt 2 and if everyone presses opt 2 the function is supposed to return -1, but it doesn't and just stops. Think there's a prob with the if statement. Everyone knows why?
Aucun commentaire:
Enregistrer un commentaire