(svn r3957) -Fix: Correctly restore the roadside after roadworks are finished. Backport of r3680 from trunk

This commit is contained in:
Darkvater 2006-03-18 15:29:24 +00:00
parent f470a87dea
commit 300aba48cc
1 changed files with 1 additions and 1 deletions

View File

@ -1009,7 +1009,7 @@ static void TileLoop_Road(TileIndex tile)
!(DistanceManhattan(t->xy, tile) >= 8 && grp == 0) &&
(_m[tile].m5==5 || _m[tile].m5==10)) {
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(