View Single Post
Old 07-01-2008, 09:56 PM   #47 (permalink)
CouchPotato99
Zuner
 
CouchPotato99's Avatar
 
Join Date: May 2008
Posts: 75
Reputation: 53
Default

Quote:
Originally Posted by Nurta View Post
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
Right, just fixed it for v2. Thanks for pointing that out.




CouchPotato99 is offline   Reply With Quote