Ok, so heres my code:
if (location[1] < 0) { printf("Your off the map!")}
My problem is that when location[1] is less than 0 the code inside the if will not run. Am i doing something wrong? Everything `I can find online is telling me I'm right.
location[1]
Aucun commentaire:
Enregistrer un commentaire