Andy: AI_Spell* sp2 = new AI_Spell; memcpy(sp2, sp, sizeof(AI_Spell)); sp2->procCounter=0; sp2->cooldowntime=0; sp2->custom_pointer = true; m_spells.push_back(sp);  Andy: anything created with new has to be deleted with delete Reverted revision 2014
Andy: AI_Spell* sp2 = new AI_Spell; memcpy(sp2, sp, sizeof(AI_Spell)); sp2->procCounter=0; sp2->cooldowntime=0; sp2->custom_pointer = true; m_spells.push_back(sp); 
Andy: anything created with new has to be deleted with delete
Reverted revision 2014

Pet system re-write anyone? :D

sysuzhang/arcemu,JoMiro/arcemu,dberga/arcbliz,sysuzhang/arcemu,JoMiro/arcemu,arcemu/arcemu,lbfamous/arcemu,arcemu/arcemu,lbfamous/arcemu,lbfamous/arcemu,JoMiro/arcemu,dberga/arcbliz,dberga/arcbliz,arcemu-ng/arcemu,JoMiro/arcemu,lbfamous/arcemu,sysuzhang/arcemu,arcemu/arcemu,sysuzhang/arcemu,dberga/arcbliz,arcemu-ng/arcemu,lbfamous/arcemu,arcemu-ng/arcemu,JoMiro/arcemu,arcemu-ng/arcemu,lbfamous/arcemu,dberga/arcbliz,arcemu/arcemu,arcemu-ng/arcemu,arcemu/arcemu,arcemu/arcemu,JoMiro/arcemu,sysuzhang/arcemu,sysuzhang/arcemu,arcemu-ng/arcemu