]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_cmds.c
S_GetEntChallelPosition -> S_GetEntChannelPosition
[xonotic/darkplaces.git] / prvm_cmds.c
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);
 }
 
 /*