changeset 2929:e29a0c68639c draft

(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.
author Darkvater <Darkvater@openttd.org>
date Mon, 30 Jan 2006 14:03:34 +0000
parents 6a7dbba467e4
children a85949ba267e
files openttd.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/openttd.c
+++ b/openttd.c
@@ -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);
 	}