mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-15 16:45:08 +01:00
(svn r10413) -Fix r10211: t->townnamegrfid was not cleared when renaming a town
This commit is contained in:
parent
b1bad4ab46
commit
e08965fdcb
@ -1896,6 +1896,7 @@ CommandCost CmdRenameTown(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
|
||||
if (flags & DC_EXEC) {
|
||||
DeleteName(t->townnametype);
|
||||
t->townnametype = str;
|
||||
t->townnamegrfid = 0;
|
||||
|
||||
UpdateTownVirtCoord(t);
|
||||
_town_sort_dirty = true;
|
||||
|
Loading…
Reference in New Issue
Block a user