(svn r3650) Fix braino in r3649, spotted by Mihamix

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
tron 19 years ago
parent 6bf65d401b
commit 5389e0e6d6

@ -34,7 +34,7 @@ static bool HasTileRoadAt(TileIndex tile, int i)
case MP_STREET:
b = _m[tile].m5;
switch (b & 0xF0) {
switch (GB(b, 4, 4)) {
case 0: break; // normal road
case 1: b = (b & 8 ? 5 : 10); break; // level crossing
case 2: return (~b & 3) == i; // depot

Loading…
Cancel
Save