Permalink
Browse files

cgame: unused cg.zoomedScope cg.zoomed

  • Loading branch information...
Aranud committed Dec 7, 2017
1 parent 56ed40c commit 1b4c65c9707d3d642a20c7509212f0a5763e235c
Showing with 4 additions and 4 deletions.
  1. +2 −2 src/cgame/cg_local.h
  2. +1 −1 src/cgame/cg_playerstate.c
  3. +1 −1 src/cgame/cg_servercmds.c
View
@@ -957,9 +957,9 @@ typedef struct
vec3_t refdefViewAngles; ///< will be converted to refdef.viewaxis
// zoom key
qboolean zoomed;
// qboolean zoomed; ///< TODO: unused
qboolean zoomedBinoc;
int zoomedScope;
// int zoomedScope; ///< TODO: unused
int zoomTime;
float zoomSensitivity;
float zoomval;
@@ -201,7 +201,7 @@ void CG_Respawn(qboolean revived)
// clear even more things on respawn
cg.zoomedBinoc = qfalse;
cg.zoomedScope = qfalse;
// cg.zoomedScope = qfalse;
cg.zoomTime = 0;
cg.zoomval = 0;
@@ -1138,7 +1138,7 @@ static void CG_MapRestart(void)
// clear zoom (so no warpies)
cg.zoomedBinoc = qfalse;
cg.zoomedScope = qfalse;
// cg.zoomedScope = qfalse;
cg.zoomTime = 0;
cg.zoomval = 0;

0 comments on commit 1b4c65c

Please sign in to comment.