]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix another typo
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 23 Nov 2009 07:47:20 +0000 (07:47 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 23 Nov 2009 07:47:20 +0000 (07:47 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9514 d7cf8633-e32d-0410-b094-e92efae38249

clvm_cmds.c

index b2a4f3cdbb3921148b3e4a77092e55c10149033e..756da39abb582a54b790c6eaf83d13e032399b1a 100644 (file)
@@ -190,7 +190,7 @@ static void VM_CL_sound (void)
                return;
        }
 
-       CL_VM_GetEntitySoundOrigin(PRVM_NUM_FOR_EDICT(entity), org);
+       CL_VM_GetEntitySoundOrigin(MAX_EDICTS + PRVM_NUM_FOR_EDICT(entity), org);
        S_StartSound(MAX_EDICTS + PRVM_NUM_FOR_EDICT(entity), channel, S_FindName(sample), org, volume, attenuation);
 }