]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cd_shared.c
Consolidate FS_Init and associated code
[xonotic/darkplaces.git] / cd_shared.c
index 5a4b3da6b8e7dac8a88ae740e73cca6a1ec05a1f..3eee8510b7884ff247eef2f5e533abde2084f283 100644 (file)
@@ -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;
 }