Changeset - r3100:91c745577c35
[Not reviewed]
master
0 1 0
tron - 18 years ago 2006-03-01 06:39:04
tron@openttd.org
(svn r3695) Add 2 MarkTileByTile() which I forgot in r3689 (noticed by Belugas)
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
road_cmd.c
Show inline comments
 
@@ -408,6 +408,7 @@ int32 CmdBuildRoad(int x, int y, uint32 
 

	
 
			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, ui
 
		dep->town_index = ClosestTownFromTile(tile, (uint)-1)->index;
 

	
 
		MakeRoadDepot(tile, _current_player, p1);
 
		MarkTileDirtyByTile(tile);
 
	}
 
	return cost + _price.build_road_depot;
 
}
0 comments (0 inline, 0 general)