Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slabs are untagged if enemy digs them out #1892

Closed
Loobinex opened this issue Sep 25, 2022 · 4 comments · Fixed by #2090
Closed

Slabs are untagged if enemy digs them out #1892

Loobinex opened this issue Sep 25, 2022 · 4 comments · Fixed by #2090

Comments

@Loobinex
Copy link
Member

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

@AdamPlenty
Copy link
Contributor

void all_players_untag_blocks_for_digging_in_area(MapSlabCoord slb_x, MapSlabCoord slb_y)

This shouldn't happen.....

@Loobinex
Copy link
Member Author

This shouldn't happen.....

and yet it does.

@AdamPlenty
Copy link
Contributor

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
Copy link
Contributor

AdamPlenty commented Dec 25, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants