This commit is contained in:
Minjae Song
2018-12-16 16:17:05 +09:00
parent 832e296bc5
commit b78d488044

View File

@@ -187,6 +187,8 @@ object WorldSimulator {
var remainingMass = 0f
var remainingType = Fluid.NULL
// FIXME water doesn't disappear when they should
for (y in 1 until fluidMap.size - 1) {
for (x in 1 until fluidMap[0].size - 1) {
val worldX = x + updateXFrom