]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
S_GetEntChallelPosition -> S_GetEntChannelPosition
authorvortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 15 Apr 2010 11:13:22 +0000 (11:13 +0000)
committervortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 15 Apr 2010 11:13:22 +0000 (11:13 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10089 d7cf8633-e32d-0410-b094-e92efae38249

prvm_cmds.c
snd_main.c
snd_null.c
sound.h

index c0770232eca4e47165086e677ae86968ff680518..490a0c81c46e0507e94b413a62b08d6f97d323a2 100644 (file)
@@ -2902,7 +2902,7 @@ void VM_getsoundtime (void)
        entchannel = (int)PRVM_G_FLOAT(OFS_PARM1);
        if (entchannel <= 0 || entchannel > 8)
                VM_Warning("VM_getsoundtime: %s: bad channel %i\n", PRVM_NAME, entchannel);
-       PRVM_G_FLOAT(OFS_RETURN) = (float)S_GetEntChallelPosition(entnum, entchannel);
+       PRVM_G_FLOAT(OFS_RETURN) = (float)S_GetEntChannelPosition(entnum, entchannel);
 }
 
 /*
index 309dd34cd18674bc9c268dfe308cb7de8fcc458f..87c223a44585c38ee0b66bab3a3ac28d3658df1f 100644 (file)
@@ -1692,7 +1692,7 @@ float S_GetChannelPosition (unsigned int ch_ind)
        return (s % sfx->total_length) / (float) S_GetSoundRate();
 }
 
-float S_GetEntChallelPosition(int entnum, int entchannel)
+float S_GetEntChannelPosition(int entnum, int entchannel)
 {
        channel_t *ch;
        unsigned int i;
index 0b97ef625810e28802e664a14e26967c79eff3af..7362dc5693324e08d350a727581b6666470f638c 100755 (executable)
@@ -157,7 +157,7 @@ float S_GetChannelPosition (unsigned int ch_ind)
        return -1;
 }
 
-float S_GetEntChallelPosition(int entnum, int entchannel)
+float S_GetEntChannelPosition(int entnum, int entchannel)
 {
        return -1;
 }
diff --git a/sound.h b/sound.h
index c82776532572cde549811a9f236ef2381b731e58..fa435c8806e5285746a35bd52d1d6dbffbf4e7bd 100644 (file)
--- a/sound.h
+++ b/sound.h
@@ -86,7 +86,7 @@ void S_StopChannel (unsigned int channel_ind, qboolean lockmutex);
 qboolean S_SetChannelFlag (unsigned int ch_ind, unsigned int flag, qboolean value);
 void S_SetChannelVolume (unsigned int ch_ind, float fvol);
 float S_GetChannelPosition (unsigned int ch_ind);
-float S_GetEntChallelPosition(int entnum, int entchannel);
+float S_GetEntChannelPosition(int entnum, int entchannel);
 
 void S_BlockSound (void);
 void S_UnblockSound (void);