]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - clvm_cmds.c
Fix some warnings found by cppcheck
[xonotic/darkplaces.git] / clvm_cmds.c
index dd8842df4189357f5103610f0935c1132361473a..ba1555d396bf23c96d4af2224ee344b5b24b2621 100644 (file)
@@ -219,8 +219,6 @@ static void VM_CL_sound (prvm_prog_t *prog)
        else
                startposition = 0;
 
-       channel = CHAN_USER2ENGINE(channel);
-
        if (!IS_CHAN(channel))
        {
                VM_Warning(prog, "VM_CL_sound: channel must be in range 0-127\n");