mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r3650) Fix braino in r3649, spotted by Mihamix
This commit is contained in:
parent
6f531eb9f6
commit
8e6b55c9a0
@ -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…
Reference in New Issue
Block a user