Describe the bug
A building glitch shows up on the Tarraco map whenever the save is loaded. Sometimes it appears instantly after the save is loaded, sometimes it takes a few seconds to show up
To Reproduce
Expected behavior
We should not see the boxed amphitheater near the earthquake cracks. There's no building there
Saved games
Julius-V-01.zip
Screenshots

Additional context
The red blocks on earthquake cracks don't show up every time (not for every save file that contains the amphitheater glitch). But the glitch for the amphitheater appears every single time and stays in its place even when restarting the game
I think I found the reason for both glitches.
Steps to reproduce:
Tarraco scenarioclear land button and hover your mouse over the cracks in the land tiles. The new buildings will also be highlighted in redI'm thinking this bug happens because the cracks in the land never really remove the building ID from the tile, even though the ID is freed for a new building. So when a new building is created with the same ID, julius considers the building to also be located on the earthquake tile where the original building with that ID was.
Also, upon further testing, I found this bug also happens on the original C3. The following is a sav file created exclusively with C3, and you can see that the red highlight bug exists.
The bug has two main effects
visual feedback on delete relies on building ID's, it's very easy to spot which crack tile has the same ID as a new buildingcrack tile with the same ID.So, my question is: since this is a bug from the original game, should we fix it?
I think we should fix this. I'll work on it this evening: the fix itself is trivial (thanks @crudelios for debugging this!), but the tests should be updated as well.
Most helpful comment
I think I found the reason for both glitches.
Steps to reproduce:
Tarracoscenarioclear landbutton and hover your mouse over thecracks in the landtiles. The new buildings will also be highlighted in redI'm thinking this bug happens because the
cracks in the landnever really remove the building ID from the tile, even though the ID is freed for a new building. So when a new building is created with the same ID, julius considers the building to also be located on the earthquake tile where the original building with that ID was.Also, upon further testing, I found this bug also happens on the original C3. The following is a
savfile created exclusively with C3, and you can see that the red highlight bug exists.earthquake2.zip
The bug has two main effects
visual feedback on deleterelies on building ID's, it's very easy to spot whichcracktile has the same ID as a new buildingcracktile with the same ID.So, my question is: since this is a bug from the original game, should we fix it?