Closed DivFord closed 9 years ago
Wow, this was not the quick fix I expected.
The problem was that ice was refreshing tiling while the water block was dead, but still present. Since there was a dead neighbor, it added an edge, even though there was also a live neighbor.
I've reworked tile update, so it now sets all bits to true, and deactivates them when it finds a matching neighbor block, rather than having them all false and activating them when it fails to find any.
This does mean that blocks at the bottom of the screen get a bottom edge. Not sure whether that's problematic.
I didn't put an update call in the block changing function, only in the erase one. I'll fix this at some point.