npf.c
changeset 1927 4126e0e3e884
parent 1891 92a3b0aa0946
child 1941 b1cb02c0401c
--- a/npf.c	Tue Jun 07 18:13:49 2005 +0000
+++ b/npf.c	Tue Jun 07 21:37:00 2005 +0000
@@ -484,7 +484,7 @@
 			break;
 		case MP_STREET:
 			/* rail/road crossing */
-			if ((_map5[tile] & 0xF0) == 0x10)
+			if (IsLevelCrossing(tile))
 				type = _map3_hi[tile] & RAILTYPE_MASK;
 			break;
 		case MP_STATION: