feat(parity): climbable trapdoor if connected to ladder

This commit is contained in:
neoapps-dev
2026-03-29 20:50:57 +03:00
parent e706466f42
commit ae2dac022c
2 changed files with 25 additions and 3 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ void LadderTile::updateShape(LevelSource *level, int x, int y, int z, int forceD
void LadderTile::setShape(int data)
{
int dir = data;
float r = 2 / 16.0f;
float r = 3 / 16.0f;
if (dir == 2) setShape(0, 0, 1 - r, 1, 1, 1);
if (dir == 3) setShape(0, 0, 0, 1, 1, r);