12.06.2010, 15:45
You must be having a condition to check if the oldkeys and the newkeys are the same.
Something like :
Something like :
Код:
if ((newkeys & KEY_RIGHT) && !(oldkeys & KEY_RIGHT))