Knuckle Cracker

Knuckle Cracker => Support => Topic started by: Sorrontis on January 08, 2017, 03:47:38 PM

Title: [Bug] RandCoordsInRange
Post by: Sorrontis on January 08, 2017, 03:47:38 PM
While working with RandCoordsInRange

I noticed that  the coords are not in a full circle's range, only partially. I tested it with:

72 72 40 RandCoordsInRange 1 Setland

Map attached, no errors in log. Just let it run for a while.
Title: Re: [Bug] RandCoordsInRange
Post by: knucracker on January 08, 2017, 07:16:49 PM
There was a typo in the implementation of that function that was messing up the bounds checking.  Just fixed and will go out in tonight's build.
Title: Re: [Bug] RandCoordsInRange
Post by: Sorrontis on January 08, 2017, 07:22:53 PM
Yay!