diff --git a/index.html b/index.html
index d52b7718..e78cbe8c 100644
--- a/index.html
+++ b/index.html
@@ -1990,45 +1990,45 @@
How to play
}
}
}
- //ISSUE #339
- game.checkObjAccessibility();
+ //ISSUE #339
+ //game.checkObjAccessibility();//THIS CODE IS BROKEN!
game.mapCreated = 1;
composite_gm();
}
},
- checkObjAccessibility: function () {
- //GLADYSHEV
- startPoint = game.myMapObjects[game.castleX][game.castleY+1];
- nonAccessible = false;
- //10 castle entrance, 4
- visitableElements = [10];
- pointsToCheck = [];
- ci = 0;
- for (i=0; iHow to play
}
}
return preparedMap;
- },
- genPathMap : function (gen_pfmap) {
+ },
+ genPathMap : function (gen_pfmap) {
console.log("call gen path map");
console.log(gen_pfmap);
neighbor_offsets = [[0, 1], [1, 0], [0, -1], [-1, 0]];