Originally Posted By: Superku
"joy_rot.y=255"
This is NOT a comparison, you assign a value there.


WOW! I can't believe I made such an obvious mistake! I know the difference so it's shameful that I didn't notice it while troubleshooting my code. Also, a direct == comparison didn't work, but using if(joy_rot.y > 192) works perfectly. It executes just once and I didn't have to refactor my code. Thanks a lot man, you're literally the second programmer on my team laugh

One last major problem I've been struggling with for weeks, after which, I'll be quiet on these forums for a while:
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=442919#Post442919

Last edited by tolu619; 07/06/14 02:10. Reason: Added link to other thread