Section 3. All fines, penalties and forfeitures recovered in prosecutions under the laws relative to fish, birds and mammals shall be equally divided between the county where such prosecution is made and the city or town where the offence is committed; provided, that if the complaining officer is receiving compensation from the commonwealth, such fines, penalties and forfeitures shall be paid to the commonwealth and credited to the Inland Fisheries and Game Fund.