Fixed a crash when user wants to editi Area 9-Right

This commit is contained in:
Pablo Sanabria
2016-06-02 12:04:59 -04:00
parent c805813ca1
commit f68d0e8129

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 = " ";