(svn r22087) -Fix: When deleting towns, only relocate objects during DC_EXEC.

This commit is contained in:
terkhen 2011-02-15 13:27:41 +00:00
parent a5b9858a36
commit c36a22ba72
1 changed files with 1 additions and 1 deletions

View File

@ -2419,7 +2419,7 @@ CommandCost CmdDeleteTown(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32
try_clear = true;
} else {
/* Tell to find a new town. */
o->town = NULL;
if (flags & DC_EXEC) o->town = NULL;
}
}
}