bool iteminrange (const UOXSOCKET s, const P_ITEM pi, const int distance)
unsigned char iteminrange (UOXSOCKET s, ITEM i, int distance)
bool iteminrange (const UOXSOCKET s, const P_ITEM pi, const int distance){	P_CHAR pc_currchar = MAKE_CHARREF_LRV(currchar[s],false);	if (pc_currchar->isGM()) return 1;	return inRange(pc_currchar->pos.x,pc_currchar->pos.y,pi->pos.x,pi->pos.y,distance);}