X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=cd_shared.c;h=3eee8510b7884ff247eef2f5e533abde2084f283;hb=47ca64a3007e413ca97f9c4a8d2e2471df8865c0;hp=5a4b3da6b8e7dac8a88ae740e73cca6a1ec05a1f;hpb=5ac525ad06f9775fb38b1f8ad475dbccb9202d8f;p=xonotic%2Fdarkplaces.git diff --git a/cd_shared.c b/cd_shared.c index 5a4b3da6..3eee8510 100644 --- a/cd_shared.c +++ b/cd_shared.c @@ -570,7 +570,8 @@ int CDAudio_Init (void) Cvar_RegisterVariable(&music_playlist_sampleposition[i]); } - Cmd_AddCommand(&cmd_client, "cd", CD_f, "execute a CD drive command (cd on/off/reset/remap/close/play/loop/stop/pause/resume/eject/info) - use cd by itself for usage"); + Cmd_AddCommand(CMD_CLIENT | CMD_CLIENT_FROM_SERVER, "cd", CD_f, "execute a CD drive command (cd on/off/reset/remap/close/play/loop/stop/pause/resume/eject/info) - use cd by itself for usage"); + return 0; }