viewing paste Unknown #17471 | C

Posted on the
1 2 3 4 5
        for(i=0;i<EQI_MAX;i++) { // unequip items that can't be equipped by base 1 [Valaris]
                if(sd->equip_index[i] >= 0)
                        if(!pc->isequip(sd,sd->equip_index[i]))
                                pc->unequipitem(sd,sd->equip_index[i],2);
        }
Viewed 547 times, submitted by Guest.