X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=snd_main.c;h=72f8d0058f89a316edf7a199591d509d996d38cd;hp=3e8d52a86ccd8dcb3c44123b32cbc6b54a0918d6;hb=de8cab7a1429f923f9015baf2ce95875900cb5e9;hpb=feb22f39c2c1a481b8c7a2364767b6402d5d94a1 diff --git a/snd_main.c b/snd_main.c index 3e8d52a8..72f8d005 100644 --- a/snd_main.c +++ b/snd_main.c @@ -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; }