changeset 2865 | 97cb78a1d02c |
parent 2817 | cdf488223c23 |
child 2872 | 2c0da1a94364 |
--- a/road_cmd.c Sat Jan 21 19:39:26 2006 +0000 +++ b/road_cmd.c Sat Jan 21 20:34:17 2006 +0000 @@ -428,7 +428,7 @@ goto do_clear; /* only allow roads pertendicular to bridge */ - if ((pieces & 5U) == (ti.map5 & 0x01U)) + if (((pieces & 5U) != 0) == ((ti.map5 & 0x01U) != 0)) goto do_clear; /* check if clear land under bridge */