bugs on fluid sim, Type is NULL but fill isn't 0/new temporary fluid draw

This commit is contained in:
Minjae Song
2018-12-16 02:10:04 +09:00
parent 4aa9ad6b14
commit 8e6fcf0b8a
20 changed files with 64 additions and 98 deletions

View File

@@ -108,7 +108,7 @@ object BlockCodex {
prop.friction = intVal(record, "friction")
prop.viscosity = intVal(record, "vscs")
prop.isFluid = Fluid.isThisTileFluid(prop.id)//boolVal(record, "fluid")
prop.isFluid = boolVal(record, "fluid")
prop.isSolid = boolVal(record, "solid")
prop.isClear = boolVal(record, "clear")
prop.isWallable = boolVal(record, "wall")