AS3: Fixed do..while, while true, while &&

This commit is contained in:
Jindra Petk
2013-02-23 19:16:30 +01:00
parent 655206adc3
commit 6d644179ca
18 changed files with 290 additions and 169 deletions

View File

@@ -67,7 +67,7 @@ public class GraphPart {
}
private GraphPart getNextPartPath(GraphPart original, String path, List<GraphPart> visited) {
if (visited.contains(this)) {
if (visited.contains(this) && (this != original)) {
return null;
}
visited.add(this);