2 Commits a521c04abe ... 231901e716

Autor SHA1 Mensagem Data
  Leon Palluch 231901e716 Merge branch 'algorithm' 4 anos atrás
  Leon Palluch 5076837b87 falschen 0er ausgebessert 4 anos atrás
1 arquivos alterados com 1 adições e 1 exclusões
  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);
             }
         }