} else if (checkWpCoord(object)) { result = getWpCoord(object).lineOfSight(self->pChar->pos(), touch != 0); } else { PyErr_SetString(PyExc_RuntimeError, "Argument types required: char, item or coordinate."); return 0;
static PyObject* wpChar_cansee( wpChar *self, PyObject *args ){	if( self->pChar->free )		return PyFalse;	PyObject *object = 0;	unsigned int touch = 1;	if( !PyArg_ParseTuple( args, "O|i:char.cansee( [char,item], [lineofsight] )", &object, &touch ) )		return 0;	bool result = false;	// Item	if (checkWpItem(object)) {		result = self->pChar->canSee(getWpItem(object), touch != 0);	// Char	} else if (checkWpChar(object)) {		result = self->pChar->canSee(getWpChar(object), touch != 0);	}	return result ? PyTrue : PyFalse;}