Reduce scope of variables
This commit is contained in:
+1
-1
@@ -307,9 +307,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 ) )
|
||||
|
||||
Reference in New Issue
Block a user