merge the new developmentbranch into the test branch #39

Closed
j23f0712 wants to merge 431 commits from development2 into dev/test
Showing only changes of commit 5e67b2d0c7 - Show all commits

View File

@@ -178,7 +178,7 @@ public boolean hasPieceInWaitingArea(){
public int getHomeIndexOfPiece(Piece piece) { public int getHomeIndexOfPiece(Piece piece) {
for (int i = 0; i < Resources.MAX_PIECES; i++) { for (int i = 0; i < Resources.MAX_PIECES; i++) {
if (this.homeNodes[i].getOccupant().equals(piece)) { if (piece.equals(this.homeNodes[i].getOccupant())) {
return i; return i;
} }
} }