X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=vid_shared.c;h=85590655989d9e5c1ae965e75f1d8973416d032e;hb=8637b1ec26ca72f92d1ef8faf23a2f124c1f4ff3;hp=ec7eba1154d9424fdf48075365dd8abe49e0ae04;hpb=5ac525ad06f9775fb38b1f8ad475dbccb9202d8f;p=xonotic%2Fdarkplaces.git diff --git a/vid_shared.c b/vid_shared.c index ec7eba11..85590655 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -1350,8 +1350,8 @@ void VID_Shared_Init(void) Sys_LoadLibrary(xinputdllnames, &xinputdll_dll, xinputdllfuncs); #endif - Cmd_AddCommand(&cmd_client, "force_centerview", Force_CenterView_f, "recenters view (stops looking up/down)"); - Cmd_AddCommand(&cmd_client, "vid_restart", VID_Restart_f, "restarts video system (closes and reopens the window, restarts renderer)"); + Cmd_AddCommand(CMD_CLIENT, "force_centerview", Force_CenterView_f, "recenters view (stops looking up/down)"); + Cmd_AddCommand(CMD_CLIENT, "vid_restart", VID_Restart_f, "restarts video system (closes and reopens the window, restarts renderer)"); } static int VID_Mode(int fullscreen, int width, int height, int bpp, float refreshrate, int stereobuffer, int samples)