keeperfx icon indicating copy to clipboard operation
keeperfx copied to clipboard

Slabs are untagged if enemy digs them out

Open Loobinex opened this issue 2 years ago • 1 comments

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:

image

Loobinex avatar Sep 25 '22 08:09 Loobinex

https://github.com/dkfans/keeperfx/blob/245e0cc4acef49af111d7a115c8b0c7a2a46ef71/src/map_blocks.c#L333

This shouldn't happen.....

AdamPlenty avatar Sep 25 '22 16:09 AdamPlenty

This shouldn't happen.....

and yet it does.

Loobinex avatar Nov 15 '22 16:11 Loobinex

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...

AdamPlenty avatar Dec 25 '22 02:12 AdamPlenty

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?

image

image

I've no clue what the hell's going on...

AdamPlenty avatar Dec 25 '22 03:12 AdamPlenty