]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cd_shared.c
Merge Cmd_Init_Commands into Cmd_Init
[xonotic/darkplaces.git] / cd_shared.c
index 6cb98dd5e61f933801bac73a996329a5c2e0aaba..3eee8510b7884ff247eef2f5e533abde2084f283 100644 (file)
@@ -570,8 +570,7 @@ 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_clientfromserver, "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;
 }