And it did not hurt McGrady 's exposure to the Chinese fan base to have joined the Rockets in time for the China Games in 2004 , when Houston played Sacramento in exhibition games in Beijing and Shanghai .