void cChar::setBeardStyle( unsigned short d) { if( !isBeard( d ) ) return; beardstyle_ = d; changed( SAVE ); cItem* pBeard = GetItemOnLayer( 16 ); if( pBeard ) pBeard->setId( d ); else { pBeard = new cItem; pBeard->Init();  pBeard->setDye(1); pBeard->setNewbie( true ); pBeard->setId( d ); pBeard->setColor( beardcolor_ ); addItem( cChar::FacialHair, pBeard ); } pBeard->update(); resend(); }
void					setBeardStyle( unsigned short d) { beardstyle_ = d; changed_ = true;}
void cChar::setBeardStyle( unsigned short d)	{ 	if( !isBeard( d ) )		return;	beardstyle_ = d; 	changed( SAVE );	cItem* pBeard = GetItemOnLayer( 16 );	if( pBeard )		pBeard->setId( d );	else	{		pBeard = new cItem;		pBeard->Init();		pBeard->setDye(1);		pBeard->setNewbie( true );		pBeard->setId( d );		pBeard->setColor( beardcolor_ );		addItem( cChar::FacialHair, pBeard );	}	pBeard->update();	resend();}