]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_main.c
host: Clean it up. Give some functions new names and new homes.
[xonotic/darkplaces.git] / snd_main.c
index 3e8d52a86ccd8dcb3c44123b32cbc6b54a0918d6..72f8d0058f89a316edf7a199591d509d996d38cd 100644 (file)
@@ -778,8 +778,8 @@ void S_Init(void)
        if (Sys_CheckParm("-nosound"))
        {
                // dummy out Play and Play2 because mods stuffcmd that
-               Cmd_AddCommand(CF_CLIENT, "play", Host_NoOperation_f, "does nothing because -nosound was specified");
-               Cmd_AddCommand(CF_CLIENT, "play2", Host_NoOperation_f, "does nothing because -nosound was specified");
+               Cmd_AddCommand(CF_CLIENT, "play", Cmd_NoOperation_f, "does nothing because -nosound was specified");
+               Cmd_AddCommand(CF_CLIENT, "play2", Cmd_NoOperation_f, "does nothing because -nosound was specified");
                return;
        }