blitz-foundation / monkey2

zlib License
3 stars 0 forks source link

Event Eaten logic fails in arm environment #3

Open Pharmhaus-2 opened 5 years ago

Pharmhaus-2 commented 5 years ago

Original Author: nitrologic

This line in event.monkey2[65]

Return (_type & EventType.Eaten)<>Null

needed to be changed to

Return (_type & EventType.Eaten)=EventType.Eaten

to work correctly on pi, otherwise function returns true for any non zero EventType.