diff --git a/src/net/torvald/terrarum/gameactors/ActorWithBody.kt b/src/net/torvald/terrarum/gameactors/ActorWithBody.kt index a441cf396..8c610b0fa 100644 --- a/src/net/torvald/terrarum/gameactors/ActorWithBody.kt +++ b/src/net/torvald/terrarum/gameactors/ActorWithBody.kt @@ -1126,7 +1126,7 @@ open class ActorWithBody(renderOrder: RenderOrder, val physProp: PhysProperties) val tyStart = y1.plus(HALF_PIXEL).floorInt() val tyEnd = y2.plus(HALF_PIXEL).floorInt() - return isCollidingInternalStairs(txStart, tyStart, txEnd, tyEnd, option == COLLIDING_BOTTOM).first > 0 + return isCollidingInternalStairs(txStart, tyStart, txEnd, tyEnd, option == COLLIDING_BOTTOM).first == 2 } /**