mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-06-10 12:05:59 +00:00
TU24
This commit is contained in:
@@ -154,7 +154,7 @@ AABB *WallTile::getAABB(Level *level, int x, int y, int z)
|
||||
bool WallTile::connectsTo(LevelSource *level, int x, int y, int z)
|
||||
{
|
||||
int tile = level->getTile(x, y, z);
|
||||
if (tile == id || FenceGateTile::isFenceGate(tile))
|
||||
if (tile == id || tile == Tile::fenceGate_Id)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user