JosephClay / beyond-beyaan

Automatically exported from code.google.com/p/beyond-beyaan
Other
0 stars 0 forks source link

LastPlanetSelected crashes the game when selecting a planet that's number 6 or higher in list #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Generate a galaxy with maximum planets greater than 6
Click on a system that has more than 6 planets, and scroll down
Select a planet that has index number of 6 or higher
Select another system, then back to the original, it crashes with index out of 
bounds error.

Original issue reported on code.google.com by zeraa...@gmail.com on 2 Aug 2011 at 3:02

GoogleCodeExporter commented 9 years ago
Fixed this so it scrolls the list down and chooses the right planet in this 
situation.

Original comment by spencerb...@gmail.com on 8 Aug 2011 at 4:39

GoogleCodeExporter commented 9 years ago

Original comment by zeraa...@gmail.com on 10 Aug 2011 at 3:06