Mercurial > hg > openttd
changeset 3100:e46de0b5308a draft
(svn r3695) Add 2 MarkTileByTile() which I forgot in r3689 (noticed by Belugas)
author | tron <tron@openttd.org> |
---|---|
date | Wed, 01 Mar 2006 06:39:04 +0000 |
parents | 5f58ebf999f0 |
children | fb7adbb60fda |
files | road_cmd.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/road_cmd.c +++ b/road_cmd.c @@ -408,6 +408,7 @@ if (flags & DC_EXEC) { MakeRoadCrossing(tile, _current_player, GetTileOwner(tile), roaddir, GB(_m[tile].m3, 0, 4), p2); + MarkTileDirtyByTile(tile); } return _price.build_road * 2; } @@ -659,6 +660,7 @@ dep->town_index = ClosestTownFromTile(tile, (uint)-1)->index; MakeRoadDepot(tile, _current_player, p1); + MarkTileDirtyByTile(tile); } return cost + _price.build_road_depot; }