]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - in_svgalib.c
added force_centerview to glx (by moving it to vid_shared)
[xonotic/darkplaces.git] / in_svgalib.c
index d1854309cecc00b30d8230ee6d9bdf62eab33dfc..2527be89cb5a133f820b079668d9a9f9838926d0 100644 (file)
@@ -92,12 +92,6 @@ static void mousehandler(int buttonstate, int dx, int dy, int dz, int drx, int d
 }
 
 
-void Force_CenterView_f(void)
-{
-       cl.viewangles[PITCH] = 0;
-}
-
-
 void IN_Init(void)
 {
        if (COM_CheckParm("-nokbd")) UseKeyboard = 0;
@@ -238,7 +232,6 @@ static void IN_init_mouse(void)
        int mouserate = MOUSE_DEFAULTSAMPLERATE;
 
        Cvar_RegisterVariable (&m_filter);
-       Cmd_AddCommand("force_centerview", Force_CenterView_f);
 
        mouse_buttons = 3;