Temp fix for a bug in set_equip().