This patch stops the compiler from complaining about possibly undefined behaviour.
Patch for possibly undefined behaviour warning
I changed it to set ->dy to zero as well, as that was the original intent of the code as far as I can see.
Log in to post a comment.
Patch for possibly undefined behaviour warning
I changed it to set ->dy to zero as well, as that was the original intent of the code as far as I can see.