2 Commits a521c04abe ... 231901e716

Author SHA1 Message Date
  Leon Palluch 231901e716 Merge branch 'algorithm' 4 years ago
  Leon Palluch 5076837b87 falschen 0er ausgebessert 4 years ago
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pathgame/algorithm/DijkstraMagic.java

+ 1 - 1
src/pathgame/algorithm/DijkstraMagic.java

@@ -161,7 +161,7 @@ public class DijkstraMagic {
                 weightMap[posX][posY].setPrevOfPath(dir);
             }
             else {
-                weightMap[posX][posY].setPrevBoatPath(0);
+                weightMap[posX][posY].setPrevBoatPath(extraInd);
             }
         }