From 6c1576143bb031c7c0ebb94f6b45dc6ce007382f Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 1 Mar 2006 06:39:04 +0000 Subject: [PATCH] (svn r3695) Add 2 MarkTileByTile() which I forgot in r3689 (noticed by Belugas) --- road_cmd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/road_cmd.c b/road_cmd.c index 25e164e481..589b274ef2 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -408,6 +408,7 @@ int32 CmdBuildRoad(int x, int y, uint32 flags, uint32 p1, uint32 p2) 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 @@ int32 CmdBuildRoadDepot(int x, int y, uint32 flags, uint32 p1, uint32 p2) dep->town_index = ClosestTownFromTile(tile, (uint)-1)->index; MakeRoadDepot(tile, _current_player, p1); + MarkTileDirtyByTile(tile); } return cost + _price.build_road_depot; }