changeset 3091 | ea4f5ae735d2 |
parent 3071 | 6f3417a859d4 |
child 3097 | 4c9edce4d22c |
--- a/road_cmd.c Mon Feb 27 16:58:26 2006 +0000 +++ b/road_cmd.c Mon Feb 27 17:24:31 2006 +0000 @@ -1045,7 +1045,7 @@ !(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(