Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix an integer overflow when calculating selection priorities. #17686
This PR fixes a regression introduced by #17291 - the actual bug is much older, but the bad behaviour didn't break anything obvious ingame before that PR.
Before: the attack cursor would disappear when mousing over the middle of the conyard.
Its a shame that nobody thought to report this earlier, otherwise this could have been included in the hotfix.