(svn r7748) [cbh] - Fix: Forgot some railtype check for custombridgeheads custombridgeheads
authorcelestar
Tue, 02 Jan 2007 14:13:05 +0000
branchcustombridgeheads
changeset 5638 252f1a09e117
parent 5637 30d8850ae4fe
child 5639 28eed7579ccb
(svn r7748) [cbh] - Fix: Forgot some railtype check for custombridgeheads
train_cmd.c
--- a/train_cmd.c	Tue Jan 02 14:08:26 2007 +0000
+++ b/train_cmd.c	Tue Jan 02 14:13:05 2007 +0000
@@ -2814,6 +2814,7 @@
 static bool CheckCompatibleRail(const Vehicle *v, TileIndex tile)
 {
 	switch (GetTileType(tile)) {
+		case MP_RAILWAY_BRIDGE:
 		case MP_RAILWAY:
 		case MP_STATION:
 			// normal tracks, jump to owner check