Chris Heald:
	Initial commit. Adapted from CG_SwapSpecs, pared down by durcyn
