pc->setPriv2(pc->priv2() & 0xBF);
static void characterRegisterAfterLoading( P_CHAR pc ){	CharsManager::instance()->registerChar( pc );	int zeta;	for ( zeta = 0; zeta < ALLSKILLS; ++zeta ) 		if (pc->lockSkill(zeta) != 0 && pc->lockSkill(zeta) != 1 && pc->lockSkill(zeta) != 2)			pc->setLockSkill(zeta, 0);		pc->setPriv2(pc->priv2() & 0xf7);	pc->setHidden( 0 );	pc->setStealth( -1 );		//AntiChrist bugfix for magic reflect	//		pc->priv2 &= 0xBF;	pc->setPriv2(pc->priv2() & 0xBF);	pc->SetSpawnSerial( pc->spawnSerial() );		pc->setRegion( cAllTerritories::getInstance()->region( pc->pos.x, pc->pos.y ) );		pc->setAntispamtimer( 0 );   //LB - AntiSpam -	pc->setAntiguardstimer( 0 ); //AntiChrist - AntiSpam for "GUARDS" call - to avoid (laggy) guards multi spawn		if (pc->id() <= 0x3e1)	{		unsigned short k = pc->id();		unsigned short c1 = pc->skin();		unsigned short b = c1&0x4000;		if ((b == 16384 && (k >=0x0190 && k<=0x03e1)) || c1==0x8000)		{			if (c1!=0xf000)			{				pc->setSkin( 0xF000 );				pc->setXSkin( 0xF000 );				clConsole.send("char/player: %s : %i correted problematic skin hue\n", pc->name.latin1(),pc->serial);			}		}	} 	else	// client crashing body --> delete if non player esle put onlx a warning on server screen	{	// we dont want to delete that char, dont we ?			if (pc->account() == 0)		{			cCharStuff::DeleteChar(pc);		} 		else		{			pc->setId(0x0190);			clConsole.send("player: %s with bugged body-value detected, restored to male shape\n",pc->name.latin1());		}	}		if(pc->stablemaster_serial() == INVALID_SERIAL)	{ 		cMapObjects::getInstance()->add(pc); 	} 	else		stablesp.insert(pc->stablemaster_serial(), pc->serial);		if (pc->isPlayer() && pc->account() == 0) pc->setMenupriv(-1);			int max_x = Map->mapTileWidth(pc->pos.map) * 8;	int max_y = Map->mapTileHeight(pc->pos.map) * 8;	if( ((pc->pos.x < 100 && pc->pos.y < 100 && pc->account() ==0) || ((pc->pos.x>max_x || pc->pos.y>max_y) && pc->account() == 0))		&& !( pc->pos.x == 0 && pc->pos.y == 0 && pc->pos.z == 0 ) ) // the last are mounted animals	{		cCharStuff::DeleteChar(pc); //character in an invalid location	}	if ((pc->pos.x < 100 && pc->pos.y < 100 && pc->account() != 0) || (( pc->pos.x>max_x || pc->pos.y>max_y ) && pc->account() !=0))	{		Coord_cl pos(pc->pos);		pos.x = 900;		pos.y = 300;		pos.z = 30;		pc->moveTo(pos); //player in an invalid location	}	setcharflag(pc);//AntiChrist}