(svn r3485) - [Post-PBS]: when reverting PBS and removing station-tile reservations a station can of course not be a crossing as well. Thanks glx.
authorDarkvater
Mon, 30 Jan 2006 14:03:34 +0000
changeset 2929 f54492d3dea8
parent 2928 414b96d4d4fb
child 2930 a3bfaa5a9222
(svn r3485) - [Post-PBS]: when reverting PBS and removing station-tile reservations a station can of course not be a crossing as well. Thanks glx.
openttd.c
--- a/openttd.c	Sun Jan 29 23:04:51 2006 +0000
+++ b/openttd.c	Mon Jan 30 14:03:34 2006 +0000
@@ -1339,7 +1339,7 @@
 				CLRBIT(_m[tile].m5, 0);
 
 			// Clear PBS reservation on station
-			if (IsTileType(tile, MP_STATION) && IsLevelCrossing(tile))
+			if (IsTileType(tile, MP_STATION))
 				CLRBIT(_m[tile].m3, 6);
 		} END_TILE_LOOP(tile, MapSizeX(), MapSizeY(), 0);
 	}