Skip to content

Commit

Permalink
Fix #7414: Reinstate marking sign dirty before removal.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterN committed Mar 25, 2019
1 parent 698241e commit 76aad1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/signs_cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ CommandCost CmdRenameSign(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32
}
} else { // Delete sign
if (flags & DC_EXEC) {
si->sign.MarkDirty();
_viewport_sign_kdtree.Remove(ViewportSignKdtreeItem::MakeSign(si->index));
delete si;

Expand Down

0 comments on commit 76aad1e

Please sign in to comment.