fixed PathFinderMoveStrategy
This commit is contained in:
		
							parent
							
								
									b01bee0142
								
							
						
					
					
						commit
						448e34e869
					
				| 
						 | 
					@ -142,7 +142,7 @@ public class PathFinderMoveStrategy implements MoveStrategy{
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Override
 | 
					    @Override
 | 
				
			||||||
    public PositionVector.Direction nextMove() {
 | 
					    public PositionVector.Direction nextMove() { //TODO check for crash and recreate movelist if crash
 | 
				
			||||||
        pointer += 1;
 | 
					        pointer += 1;
 | 
				
			||||||
        if (pointer < moveList.size()) {
 | 
					        if (pointer < moveList.size()) {
 | 
				
			||||||
            return moveList.get(pointer);
 | 
					            return moveList.get(pointer);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue