keeperfx
keeperfx copied to clipboard
Slabs are untagged if enemy digs them out
If an enemy digs out an unexplored slab you have tagged, it untags it or partially untags it. It should not, because for the player unexplored dirt and unexplored path should be functionally the same.
To reproduce, load a map with an enemy keeper, and quickly mark the area around his heart for digging. Frameskip and you will see the outline of rooms starting to form:
https://github.com/dkfans/keeperfx/blob/245e0cc4acef49af111d7a115c8b0c7a2a46ef71/src/map_blocks.c#L333
This shouldn't happen.....
This shouldn't happen.....
and yet it does.
Just made a test map for this. Only part of the tiles are being untagged, and sometimes tiles that haven't been dug are partially untagged. Sounds like the game's getting confused somewhere...
Just made a test map for this. Only part of the tiles are being untagged, and sometimes tiles that haven't been dug are partially untagged. Sounds like the game's getting confused somewhere...
Is this the same bug as described here?
I've no clue what the hell's going on...