if (!pStone) return;
void GuildTitle(int s, P_CHAR pc_player2){	int tl;	if ( pc_player2 == NULL )		return;	if ( pc_player2->guildstone != INVALID_SERIAL && pc_player2->guildtoggle )	{		cGuildStone* pStone = dynamic_cast<cGuildStone*>(FindItemBySerial( pc_player2->guildstone ));		QString abbreviation = pStone->abbreviation.c_str();		QString guildtype("");		QString title("");		if (abbreviation.isEmpty())			abbreviation = "none";		switch (pStone->guildType)		{		case cGuildStone::order:	guildtype = "Order";		break;		case cGuildStone::chaos:	guildtype = "Chaos";		break;		default:												break;				}		if (!pc_player2->guildtitle.empty()) 			title = QString("[%1, %2]").arg(pc_player2->guildtitle.c_str()).arg(abbreviation);		else 			title = QString("[%1]").arg(abbreviation);		if ( !guildtype.isEmpty() )			title.append( " [" + guildtype + "]" );		tl = 44 + title.length() + 1;		talk[1]=tl>>8;		talk[2]=tl%256;		LongToCharPtr(pc_player2->serial, &talk[3]);		talk[7]=1;		talk[8]=1;		talk[9]=0;		ShortToCharPtr(pc_player2->emotecolor, &talk[10]);		talk[12]=0;		talk[13]=3;		Xsend(s, talk, 14);		Xsend(s, sysname, 30);		Xsend(s, const_cast<char*>(title.latin1()), title.length() + 1);	}}