DELRAY BEACH, Fla. – A Delray Beach man wasn't happy that a nearby McDonald's didn't have any ice cream, so he pulled out a replica AR-15 rifle while he waited in the drive-thru line, police said.

Jerry Henry was arrested Monday after the incident at the McDonald's on Linton Boulevard.

Delray Beach police said Henry was a passenger in a car at the drive-thru when the driver, who was ordering food at the intercom, became upset with the employee who was taking his order.

According to a probable cause affidavit, the driver, identified as Michael Delhomme, was upset because the ice cream machine wasn't working.

The employee told police that he watched from the store's surveillance video as Henry got out of the front passenger seat and went into the trunk to remove what appeared to be a rifle. The employee told his co-workers, and they went into the bathroom to hide and call 911.

Police said surveillance video confirmed employees' accounts of what happened.

According to the report, Henry admitted that Delhomme asked him to get the "stick" from the trunk after the dispute about the ice cream. Henry said he put the gun between his legs in the front seat.

Henry was arrested on a charge of improper exhibition of a firearm.