unsigned short k = pc->id();
unsigned short k = pc->bodyID();
static void characterRegisterAfterLoading( P_CHAR pc ){	World::instance()->registerObject( pc );	pc->setPriv2(pc->priv2() & 0xBF); // ???	pc->setHidden( 0 );	pc->setStealth( -1 );		pc->setRegion( AllTerritories::instance()->region( pc->pos().x, pc->pos().y, pc->pos().map ) );		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 only a warning on server screen	{	// we dont want to delete that char, dont we ?			if (pc->account() == 0)		{			cCharStuff::DeleteChar(pc);			return;		} 		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 )	{ 		MapObjects::instance()->add(pc); 	} 	else		stablesp.insert(pc->stablemaster_serial(), pc->serial());		UINT16 max_x = Map->mapTileWidth(pc->pos().map) * 8;	UINT16 max_y = Map->mapTileHeight(pc->pos().map) * 8;	// only > max_x and > max_y are invalid	if( pc->pos().x >= max_x || pc->pos().y >= max_y )	{		cCharStuff::DeleteChar( pc );		return;	}	}