Fix original maps bottom layer (hacky) placed resources and artifacts #8977
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix #8852
This PR fixes some issues for the original maps made by hack or some original editor bug when an action object is placed to the bottom player addons instead of the main main tile object.
It:
Important! This PR fixes only the new games, not the saved games
Such map "hacks" can be observed on the map LOSTRELI.MP2 ("Lost Relic").
Master build (the picked up artifact is not the same as shown on the map):
fheroes2.2024-07-21.15-38-23-316.mp4
This PR:
fheroes2.2024-07-21.15-31-33-643.mp4
The resource "hack" is noticeable of the map 4 of the Roland campaign.
fheroes2.2024-07-21.15-32-18-908.mp4