(svn r7652) [cbh] - Fix: On last commit, I messed up some check and trains could not longer leave the "on bridge" status. Oops.
--- 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;