git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8737
d7cf8633-e32d-0410-b094-
e92efae38249
{
//Con_Printf("-- entnum %i origin %f %f %f neworigin %f %f %f\n", ch->entnum, ch->origin[0], ch->origin[1], ch->origin[2], cl.entities[ch->entnum].state_current.origin[0], cl.entities[ch->entnum].state_current.origin[1], cl.entities[ch->entnum].state_current.origin[2]);
- CL_VM_GetEntitySoundOrigin(ch->entnum, ch->origin);
+ if(ch->entnum != 32768) // not for world
+ CL_VM_GetEntitySoundOrigin(ch->entnum, ch->origin);
}
else if (cl.entities[ch->entnum].state_current.active)
{