(svn r22087) -Fix: When deleting towns, only relocate objects during DC_EXEC.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user