]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - in_win.c
added force_centerview to glx (by moving it to vid_shared)
[xonotic/darkplaces.git] / in_win.c
index 5f0b731bc59759ae7e60d97466d342edebe16214..d27f5976987734582a8e3498540ce679ea45f0eb 100644 (file)
--- a/in_win.c
+++ b/in_win.c
@@ -156,17 +156,6 @@ void Joy_AdvancedUpdate_f (void);
 void IN_JoyMove (usercmd_t *cmd);
 
 
-/*
-===========
-Force_CenterView_f
-===========
-*/
-void Force_CenterView_f (void)
-{
-       cl.viewangles[PITCH] = 0;
-}
-
-
 /*
 ===========
 IN_UpdateClipCursor
@@ -473,7 +462,6 @@ void IN_Init (void)
        Cvar_RegisterVariable (&joy_wwhack1);
        Cvar_RegisterVariable (&joy_wwhack2);
 
-       Cmd_AddCommand ("force_centerview", Force_CenterView_f);
        Cmd_AddCommand ("joyadvancedupdate", Joy_AdvancedUpdate_f);
 
        uiWheelMessage = RegisterWindowMessage ( "MSWHEEL_ROLLMSG" );