actors now use 'updateImpl'; static sound for smelter and furnace

This commit is contained in:
minjaesong
2024-02-12 05:04:52 +09:00
parent 7d871c5d49
commit a14f2697fb
3 changed files with 6 additions and 0 deletions

View File

@@ -689,6 +689,8 @@ class MovableWorldCamera(val parent: BuildingMaker) : ActorHumanoid(0, physProp
)
override fun updateImpl(delta: Float) {
super.updateImpl(delta)
// confine the camera so it won't wrap
this.hitbox.hitboxStart.setCoerceIn(coerceInStart, coerceInEnd)
}