From f68d0e8129083049497e8f86b28c07db43f5dfc4 Mon Sep 17 00:00:00 2001 From: Pablo Sanabria Date: Thu, 2 Jun 2016 12:04:59 -0400 Subject: [PATCH] Fixed a crash when user wants to editi Area 9-Right --- BW_tool/Editors/Entralink.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BW_tool/Editors/Entralink.cs b/BW_tool/Editors/Entralink.cs index 76d24a7..7ba0cbc 100644 --- a/BW_tool/Editors/Entralink.cs +++ b/BW_tool/Editors/Entralink.cs @@ -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 = " ";