Fix division-by-0 crash with gamepad deadzones
Fix division-by-0 crash with gamepad deadzones The problem was that it checked if A was more than B, then lowered A to a max value, then subtracted B from A, then divided something by that, without checking if A minus B was 0, allowing division by 0 if B was the same as that max value This fixes that by making sure that A is less than the max value
parent
7d147969
No related branches found
No related tags found
Loading
Please register or sign in to comment