Rain swept across northern Texas for a record 18th consecutive day on Wednesday following flooding that chased people out of their homes and a major amusement park.

Up to 7 inches of rain fell in a three-hour period early Wednesday in southern Texas and the San Antonio area, the National Weather Service (search) said. The 18 consecutive days of rain in north Texas was a record for June.

No deaths or injuries have been reported, but flooding closed the Six Flags Over Texas (search) amusement park in Arlington on Tuesday.

In Real County, west of San Antonio, 22 people had to be rescued from a residential area early Tuesday when the Frio River flooded. The river crested at 17 feet, about 12 feet above flood stage, said Texas Parks and Wildlife (search) spokesman Tom Harvey.

Among those rescued were 16 people and a dog stranded on one rooftop and two boys who had spent hours in a tree.

"Hanging in a cedar tree for three hours, I thought they were in good spirits," state game warden Shane Hohman said.

There was so much water at San Marcos that organizers of the 260-mile Texas Water Safari (search) canoe race weren't sure if the competition could start as planned this Sunday. The race had been postponed from June 12-16.

"It hasn't stopped raining since the postponement," said race director Allen Spelce. "Most paddlers like the high water just because it allows for faster time and the opportunity to set records, but it's a fine line that you have to draw between high water and safe water."

The rainfall total for the month as of early Wednesday was 10.46 inches, just shy of the record 11.58 inches in 1928, the weather service said.