Hello!
Code:for(j,j<32,j++){
if(pieces[j].state==1){
if(pieces[j].color!=*turno){
pieces[j].state==0;
pieces[i].square.file = file_dest;
pieces[i].square.rank = rank_dest;
jog_inv=0;
}
}
else{
pieces[i].square.file = file_dest;
pieces[i].square.rank = rank_dest;
jog_inv=0;
}
}
i got an error here, i dont know where is it, becouse i have the same code earlyer and dont,t get any error. can anyone help? thx ;)