mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-26 00:42:47 +00:00
force_centerview is back
This commit is contained in:
parent
0fddfe4931
commit
03c0216dde
2 changed files with 21 additions and 0 deletions
|
@ -1083,6 +1083,13 @@ CL_Download_f (void)
|
|||
}
|
||||
|
||||
|
||||
void
|
||||
Force_CenterView_f (void)
|
||||
{
|
||||
cl.viewangles[PITCH] = 0;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
CL_Init (void)
|
||||
{
|
||||
|
@ -1154,6 +1161,9 @@ CL_Init (void)
|
|||
Cmd_AddCommand ("stopul", CL_StopUpload, "Tells the client to stop "
|
||||
"uploading");
|
||||
|
||||
Cmd_AddCommand ("force_centerview", Force_CenterView_f, "force the view to "
|
||||
"be level");
|
||||
|
||||
// forward to server commands
|
||||
Cmd_AddCommand ("kill", Cmd_ForwardToServer, "Suicide :)");
|
||||
Cmd_AddCommand ("pause", Cmd_ForwardToServer, "Pause the game");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue