tunnelbridge_cmd.c
changeset 1330 5d76a0522a11
parent 1209 2e00193652b2
child 1335 a5f223b9f549
equal deleted inserted replaced
1329:6988419aa6f0 1330:5d76a0522a11
  1433 
  1433 
  1434 			if (dir == (vdir^2) && fc == _tunnel_fractcoord_3[dir] && z == 0) {
  1434 			if (dir == (vdir^2) && fc == _tunnel_fractcoord_3[dir] && z == 0) {
  1435 				/* We're at the tunnel exit ?? */
  1435 				/* We're at the tunnel exit ?? */
  1436 				v->tile = tile;
  1436 				v->tile = tile;
  1437 				v->u.rail.track = _exit_tunnel_track[dir];
  1437 				v->u.rail.track = _exit_tunnel_track[dir];
       
  1438 				assert(v->u.rail.track);
  1438 				v->vehstatus &= ~VS_HIDDEN;
  1439 				v->vehstatus &= ~VS_HIDDEN;
  1439 				return 4;
  1440 				return 4;
  1440 			}
  1441 			}
  1441 		} else if (v->type == VEH_Road) {
  1442 		} else if (v->type == VEH_Road) {
  1442 			fc = (x&0xF)+(y<<4);
  1443 			fc = (x&0xF)+(y<<4);