Changeset - r12966:ecbe762e1011
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2009-09-08 07:16:26
smatz@openttd.org
(svn r17470) -Fix (r17460): possible crash when overbuiling rail by station
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/station_cmd.cpp
Show inline comments
 
@@ -727,7 +727,7 @@ CommandCost CheckFlatLandBelow(TileIndex
 
			 * build isn't a rail station it's INVALID_RAILTYPE. */
 
			if (rt != INVALID_RAILTYPE &&
 
					IsPlainRailTile(tile_cur) && !HasSignals(tile_cur) &&
 
					HasPowerOnRail(GetRailType(tile), rt)) {
 
					HasPowerOnRail(GetRailType(tile_cur), rt)) {
 
				/* Allow overbuilding if the tile:
 
				 *  - has rail, but no signals
 
				 *  - it has exactly one track
0 comments (0 inline, 0 general)