(svn r2132) Fix copy&paste bug in r2131
authortron
Sat, 02 Apr 2005 19:45:52 +0000
changeset 1628 ce2cfaee8006
parent 1627 f365c96e74a4
child 1629 7836b328f0e9
(svn r2132) Fix copy&paste bug in r2131
rail_cmd.c
--- a/rail_cmd.c	Sat Apr 02 18:33:53 2005 +0000
+++ b/rail_cmd.c	Sat Apr 02 19:45:52 2005 +0000
@@ -305,7 +305,7 @@
 				return DoCommandByTile(tile, 0, 0, flags, CMD_LANDSCAPE_CLEAR);
 			}
 
-			ret = CheckRailSlope(tileh, rail_bit, m5 & RAIL_BIT_MASK, tile);
+			ret = CheckRailSlope(tileh, rail_bit, 0, tile);
 			if (ret & CMD_ERROR) return ret;
 			cost += ret;