mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 11:04:05 +09:00
first working wall occlusion (issue #39)
This commit is contained in:
@@ -46,6 +46,7 @@ object BlockBase {
|
||||
}
|
||||
|
||||
// return false if the tile is already there
|
||||
// FIXME doesn't work for WALLs?
|
||||
if (gameItem.inventoryCategory == GameItem.Category.BLOCK &&
|
||||
gameItem.dynamicID == ingame.world.getTileFromTerrain(mouseTile.x, mouseTile.y) ||
|
||||
gameItem.inventoryCategory == GameItem.Category.WALL &&
|
||||
|
||||
Reference in New Issue
Block a user