feat: remove shears & fencegate
This commit is contained in:
1 parent
299bf5bc3d
commit
1bf91df452
18 files changed
+3
-68
No files matched your search
@@ -232,7 +232,7 @@ int PathFinder::isFree(Entity *entity, int x, int y, int z, Node *size, bool avo
|
||||
if (canOpenDoors && tileId == Tile::door_wood_Id) continue;
|
||||
|
||||
int renderShape = tile->getRenderShape();
|
||||
if (renderShape == Tile::SHAPE_FENCE || tileId == Tile::fenceGate_Id || renderShape == Tile::SHAPE_WALL) return TYPE_FENCE;
|
||||
if (renderShape == Tile::SHAPE_FENCE || renderShape == Tile::SHAPE_WALL) return TYPE_FENCE;
|
||||
if (tileId == Tile::trapdoor_Id) return TYPE_TRAP;
|
||||
Material *m = tile->material;
|
||||
if (m == Material::lava)
|
||||
|
||||
Reference in new issue
Block a user