Changeset - r3091:8c8702be25f2
[Not reviewed]
master
0 1 0
tron - 19 years ago 2006-02-27 17:24:31
tron@openttd.org
(svn r3680) Fix some magic numbers which got damaged in r1768
-Fix: Correctly restore the roadside after roadworks are finished
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
road_cmd.c
Show inline comments
 
@@ -1045,7 +1045,7 @@ static void TileLoop_Road(TileIndex tile
 
					!(DistanceManhattan(t->xy, tile) >= 8 && grp == 0) &&
 
					(_m[tile].m5 == ROAD_Y || _m[tile].m5 == ROAD_X)) {
 
				if (GetTileSlope(tile, NULL) == 0 && EnsureNoVehicle(tile) && CHANCE16(1, 20)) {
 
					_m[tile].m4 |= (GB(_m[tile].m4, 4, 3) <=  2 ? 7 : 6) << 4;
 
					SB(_m[tile].m4, 4, 3, (GB(_m[tile].m4, 4, 3) <= 1 ? 6 : 7));
 

	
 
					SndPlayTileFx(SND_21_JACKHAMMER, tile);
 
					CreateEffectVehicleAbove(
0 comments (0 inline, 0 general)