Reduce scope of variables

This commit is contained in:
thatsIch committed 2015-09-26 20:07:51 +02:00
1 parent f4ff28d2a6
commit 0387d30d1c
78 files changed
+174 -218

No files matched your search

+1 -1
View File
@@ -308,9 +308,9 @@ public class PathGridCache implements IPathingGrid
private int calculateRequiredChannels()
{
int depth = 0;
this.semiOpen.clear();
int depth = 0;
for( IGridNode nodes : this.requireChannels )
{
if( !this.semiOpen.contains( nodes ) )