Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a division by zero error in FindAndDeliverResources #17045

Merged
merged 1 commit into from Sep 7, 2019

Conversation

@abcdefg30
Copy link
Member

commented Sep 5, 2019

by preventing an overflow. See the inline comment/IRC yesterday evening.

Fixes https://www.openra.net/news/playtest-20190825/#comment-4604395315.

@abcdefg30 abcdefg30 added this to the Next Release milestone Sep 5, 2019

@abcdefg30 abcdefg30 force-pushed the abcdefg30:overHarv branch from 3081acd to c7dfb1e Sep 6, 2019

Fix a division by zero error in FindAndDeliverResources
by preventing an overflow through dividing directly

@abcdefg30 abcdefg30 force-pushed the abcdefg30:overHarv branch from c7dfb1e to 2901f8a Sep 6, 2019

@pchote
pchote approved these changes Sep 7, 2019

@pchote pchote merged commit ca8ca2d into OpenRA:bleed Sep 7, 2019

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@abcdefg30 abcdefg30 deleted the abcdefg30:overHarv branch Sep 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.