mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 19:44:05 +09:00
fixed a bug where solid actorblock would cause wrong tile connection and ambient occlusion
This commit is contained in:
@@ -108,4 +108,11 @@ class BlockProp {
|
||||
val extra = Codex()
|
||||
|
||||
var isActorBlock: Boolean = false
|
||||
|
||||
/**
|
||||
* Is this tile should be treated as "solid" for tile connecting.
|
||||
*/
|
||||
val isSolidForTileCnx: Boolean
|
||||
get() = if (tags.contains("DORENDER") || !isActorBlock) isSolid else false
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user