View Single Post
Old 07-01-2008, 08:25 PM   #46 (permalink)
Deiparous
ad majorem dei gloriam
Administrator
Ultimate Zuner
 
Deiparous's Avatar
 
Join Date: Jan 2007
Posts: 6,558
Reputation: 417
Send a message via AIM to Deiparous Send a message via MSN to Deiparous Send a message via Yahoo to Deiparous Send a message via Skype™ to Deiparous
Awards Showcase
Most Flamboyant Personality 
Total Awards: 1
Default

I discovered a minor bug. In the custom view if you set the width and height high to say 8 by 8, you can place 49 mines. if you set it to 49 mines and then reduce the width and height you end up with a 5x5 map with more mines than tiles and it crashes. All you need to do is add a check so that when decreasing the side lengths if the mines is greater than the (width-1)(height-1) limit, decrease it to the limit
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
is awesome



Deiparous is offline   Reply With Quote