forked from photonstorm/Flixel-Power-Tools
-
Notifications
You must be signed in to change notification settings - Fork 3
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
FloodFillFX Crash #16
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue by Nejuf from Friday Sep 07, 2012 at 03:27 GMT
Originally opened as photonstorm#16
If the image's height is not divisible by the offset, this results in a crash because a script timeout. The reason being that subtracting the offset from a uint(dropY), can cause it to be negative, but since uint's can't be negative, the result is a very large number.
A simple restructuring in the draw() method fixes the problem.
Changing:
Into:
The text was updated successfully, but these errors were encountered: