if(!(pi->corpse == 1)) color = 0x0481;
if( !pi->corpse() ) color = 0x0481;
void itemmessage(UOXSOCKET s, char *txt, int serial, short color) {// The message when an item is clicked (new interface, Duke)	P_ITEM pi = FindItemBySerial(serial);	if ( pi == NULL )		return;	if ((pi->type() == 1 && color == 0x0000)||		(pi->type() == 9 && color == 0x0000)||		(pi->type() == 1000 && color == 0x0000)||		(pi->id()==0x1BF2 && color == 0x0000))		color = 0x03B2;	    else			if(!(pi->corpse == 1))		color = 0x0481;		if ( clientDimension[s]==3 && color==0) { talk[10]=0; talk[11]=0x37; }	int tl=44+strlen(txt)+1;	talk[1]=tl>>8;	talk[2]=tl%256;	LongToCharPtr(serial,talk+3);	talk[7]=1;	talk[8]=1;	talk[9]=6; // Mode: "You see"	ShortToCharPtr(color,talk+10);	talk[12]=0;	talk[13]=3;	Xsend(s, talk, 14);	Xsend(s, sysname, 30);	Xsend(s, txt, strlen(txt)+1);}