author | tron |
Tue, 21 Feb 2006 18:15:59 +0000 | |
changeset 3061 | a1cac64b56b6 |
parent 3060 | 7cfc591c4ba6 |
child 3062 | 2c96a73da934 |
road_cmd.c | file | annotate | diff | comparison | revisions |
--- a/road_cmd.c Tue Feb 21 18:07:35 2006 +0000 +++ b/road_cmd.c Tue Feb 21 18:15:59 2006 +0000 @@ -34,7 +34,7 @@ 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