P_ITEM pItem = getArgItem( 0 );
pItem = getArgItem( 0 );
static PyObject* wpChar_canreach( wpChar* self, PyObject* args ){	Q_UNUSED(args);	if( self->pChar->free || ( !checkArgObject( 0 ) && !checkArgCoord( 0 ) ) || !checkArgInt( 1 ) )		return PyFalse;	P_PLAYER pPlayer = dynamic_cast< P_PLAYER >( self->pChar );	if( pPlayer && pPlayer->isGM() )		return PyTrue;	Coord_cl pos;	// Parameter 1: Coordinate	if( checkArgCoord( 0 ) )	{		pos = getArgCoord( 0 );	}	// Parameter1: Item/Char	else	{		cUObject *obj = getArgChar( 0 );		if( !obj )		{			P_ITEM pItem = getArgItem( 0 );			if( pItem && pItem->getOutmostChar() == self->pChar )				return PyTrue;			obj = pItem;		}			if( !obj )			return PyFalse;		pos = obj->pos();	}	UINT32 range = getArgInt( 1 );	if( self->pChar->pos().map != pos.map )		return PyFalse;	if( self->pChar->pos().distance( pos ) > range )		return PyFalse;	if( !self->pChar->pos().lineOfSight( pos ) )		return PyFalse;	return PyTrue;}