Angular-momentum effects on continuum gamma rays following heavy-ion reactions