Ok, so I'm making a game.
Now I've run into a problem, I'm trying to set an integer variable selected[1] = 1; but it is returned as 3?
There is absolutely nothing wrong with my code. Well that is what I'd say but there obviously is if I'm getting the wrong value assigned to it.
I'd have put this in the game programming forum but it's not game specific.
Line 757 is where the if statement where the variable is set resides.