# HG changeset patch # User celestar # Date 1167498967 0 # Node ID 5169e3e15ce9a5365965d317b4a82097112aaaa9 # Parent a8e391b7b10ab7692e21aa3e4d6dc590adef61f5 (svn r7652) [cbh] - Fix: On last commit, I messed up some check and trains could not longer leave the "on bridge" status. Oops. diff -r a8e391b7b10a -r 5169e3e15ce9 bridge_cmd.c --- a/bridge_cmd.c Sat Dec 30 17:09:30 2006 +0000 +++ b/bridge_cmd.c Sat Dec 30 17:16:07 2006 +0000 @@ -968,7 +968,8 @@ } dir = GetBridgeRampDirection(tile); - if (DirToDiagDir(v->direction) == dir || IsTileType(tile, MP_RAILWAY_BRIDGE)) { + if (DirToDiagDir(v->direction) == dir || + (IsTileType(tile, MP_RAILWAY_BRIDGE) && DirToDiagDir(v->direction) != ReverseDiagDir(dir))) { switch (dir) { default: NOT_REACHED(); case DIAGDIR_NE: if ((x & 0xF) != 0) return 0; break;