Merge pull request #1 from Tailmon/master

Fixed a crash when user wants to editing Area 9-Right
This commit is contained in:
suloku
2016-06-03 14:53:40 +02:00

View File

@@ -201,7 +201,7 @@ namespace BW_tool
int temp = forest.Indexpkm;
for (i=0;i<20;i++)
{
if (forest.Area > 0 && forest.Area < 3 && i > 9)
if (forest.Area > 0 && forest.Area <= 3 && i > 9)
{
dataGridView1.Rows[i].Cells[0].Value = " ";
dataGridView1.Rows[i].Cells[1].Value = " ";