roadveh_cmd.c
changeset 3560 b2fcf1898eec
parent 3508 b685e9157aef
child 3611 808337ad2e36
--- a/roadveh_cmd.c	Sat Apr 15 19:52:58 2006 +0000
+++ b/roadveh_cmd.c	Sat Apr 15 20:07:42 2006 +0000
@@ -568,7 +568,7 @@
 
 	tile = v->tile;
 
-	if (!IsTileType(tile, MP_STREET) || !IsLevelCrossing(tile)) return;
+	if (!IsLevelCrossingTile(tile)) return;
 
 	if (VehicleFromPos(tile, v, EnumCheckRoadVehCrashTrain) != NULL)
 		RoadVehCrash(v);