/enter and /exit on F problem
#2

Код:
#define PRESSED(%0) \
    (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
Use
Код:
if(PRESSED(KEY_SECONDARY_ATTACK))
Instead of

Код:
if(newkeys & KEY_SECONDARY_ATTACK)
Edit: It can be a problem related to range, if exit and enters are very close. So you can decrease its range
Reply


Messages In This Thread
/enter and /exit on F problem - by PepsiCola23 - 26.06.2016, 19:09
Re: /enter and /exit on F problem - by Matz - 26.06.2016, 19:26
Re: /enter and /exit on F problem - by PepsiCola23 - 26.06.2016, 19:52

Forum Jump:


Users browsing this thread: 1 Guest(s)