A riot gun has specific features. It has a short, cylinder-bore (unchoked) barrel, and usually lacks some of the more refined cosmetic features of a sporting shotgun. It's designed for close-in work, mainly using buckshot or slugs.
While it would work well for hunting upland game, it was usually employed to eliminate or keep in line two-legged vermin.