From f42201496093f04220e58b1c4cd4d69531839de4 Mon Sep 17 00:00:00 2001 From: darkvater Date: Wed, 11 Aug 2004 22:07:08 +0000 Subject: (svn r23) -Some omments on the code (blathijs) --- tunnelbridge_cmd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tunnelbridge_cmd.c') diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c index af6c31f42..672936b36 100644 --- a/tunnelbridge_cmd.c +++ b/tunnelbridge_cmd.c @@ -1388,6 +1388,7 @@ static uint32 VehicleEnter_TunnelBridge(Vehicle *v, uint tile, int x, int y) } if (dir == (vdir^2) && fc == _tunnel_fractcoord_3[dir] && z == 0) { + /* We're at the tunnel exit ?? */ v->tile = tile; v->u.rail.track = _exit_tunnel_track[dir]; v->vehstatus &= ~VS_HIDDEN; @@ -1413,6 +1414,7 @@ static uint32 VehicleEnter_TunnelBridge(Vehicle *v, uint tile, int x, int y) } if (dir == (vdir^2) && ( + /* We're at the tunnel exit ?? */ fc == _tunnel_fractcoord_6[dir] || fc == _tunnel_fractcoord_7[dir]) && z == 0) { -- cgit v1.2.3-54-g00ecf