mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-21 03:16:32 +01:00
(svn r22087) -Fix: When deleting towns, only relocate objects during DC_EXEC.
This commit is contained in:
parent
a5b9858a36
commit
c36a22ba72
@ -2419,7 +2419,7 @@ CommandCost CmdDeleteTown(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32
|
|||||||
try_clear = true;
|
try_clear = true;
|
||||||
} else {
|
} else {
|
||||||
/* Tell to find a new town. */
|
/* Tell to find a new town. */
|
||||||
o->town = NULL;
|
if (flags & DC_EXEC) o->town = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user