pHair->id1=pHair->moreb3; pHair->id2=pHair->moreb4;
pHair->setId( static_cast<UI16>( pHair->moreb3 << 8 ) + pHair->moreb4 );
static void reverseIncognito(P_CHAR pc){	if(pc->incognito)//let's ensure it's under incognito effect!	{		pc->setId(pc->xid);				pc->skin = pc->xskin;	// SKIN COLOR				pc->name = pc->orgname().latin1();	// NAME				if(pc->hairserial>-1)//if hairs exist, restore hair style/color		{			P_ITEM pHair = FindItemBySerial(pc->hairserial);			if(pHair)			{				if(pHair->incognito) //let's ensure it was marked as under incognito effect				{					//stores old hair values					pHair->color = static_cast<unsigned short>(pHair->moreb1 << 8) + pHair->moreb2;					pHair->id1=pHair->moreb3;					pHair->id2=pHair->moreb4;					pHair->incognito=false;				}			}		}				if(pc->beardserial>-1)//if beard exists, restore beard style/color		{			P_ITEM pBeard = FindItemBySerial(pc->beardserial);			if(pBeard)			{				if(pBeard->incognito) //let's ensure it was marked as under incognito effect				{					//restores old beard values					pBeard->color = static_cast<unsigned short>(pBeard->moreb1<<8) + pBeard->moreb2;					pBeard->id1=pBeard->moreb3;					pBeard->id2=pBeard->moreb4;					pBeard->incognito=false;				}			}		}				//only refresh once, when poly finished		teleport(pc);		int socket=calcSocketFromChar(pc);//calculate only once		if (socket!=-1)		{			wornitems(socket, pc);//send update to current socket			int j;			for (j=0;j<now;j++)			{//and to all inrange sockets (without re-sending to current socket)//AntiChrist				if (perm[j] && inrange1p(pc, currchar[j]) && (j!=socket))					wornitems(j, pc);			}		}		pc->incognito=false;//AntiChrist	}}