for (j=0;j<now;j++)
for ( j = 0; j < now; ++j )
void staticeffect3(UI16 x, UI16 y, SI08 z, unsigned char eff1, unsigned char eff2, char speed, char loop, char explode){	char effect[29] = {0,};	int j;//	memset (&effect, 0, 29);	effect[0]=0x70; // Effect message	effect[1]=0x02; // Static effect	//[6] to [9] are the target ser, not applicable here.	effect[10]=eff1;// Object id of the effect	effect[11]=eff2;	effect[12]=x>>8;	effect[13]=x%256;	effect[14]=y>>8;	effect[15]=y%256;	effect[16]=z;	effect[17]=x>>8;	effect[18]=x%256;	effect[19]=y>>8;	effect[20]=y%256;	effect[21]=z;	//[17] to [21] are the target's position, not applicable here.	effect[22]=speed;	effect[23]=loop; // 0 is really long.  1 is the shortest.	effect[24]=0; // This value is unknown	effect[25]=0; // This value is unknown	effect[26]=1; // LB changed to 1	effect[27]=explode; // This value is used for moving effects that explode on impact.	for (j=0;j<now;j++)	{  // if inrange of effect and online send effect		if (inVisRange(x, y, currchar[j]->pos.x, currchar[j]->pos.y))		{			Xsend(j, effect, 28);		}	}}