In my MainMenu class, i have this line, which waits for a player selection:
while( (selectedWorld == -1) & (editSelectedWorld == -1) ){}
In windows Xp, it works. Now, i’ve tried it on my laptop at home, using Win7, 64 bits, and there’s no way it’ll work. It simply doesn’t seem to test either values.
But, if i add:
while( (selectedWorld == -1) & (editSelectedWorld == -1) ){
System.out.println( selectedWorld + "," + editSelectedWorld );
}
It works. ??? ???
Is there any reason for that?