diff --git a/include/r_local.h b/include/r_local.h index c159d46..29fc16f 100644 --- a/include/r_local.h +++ b/include/r_local.h @@ -107,6 +107,7 @@ extern cvar_t *r_maxedges; /* extern cvar_t r_numedges; CVAR_FIXME */ extern cvar_t *r_numedges; +extern cvar_t *crosshair; #define XCENTERING (1.0 / 2.0) #define YCENTERING (1.0 / 2.0) diff --git a/source/r_view.c b/source/r_view.c index 3a0b9c1..50db3bf 100644 --- a/source/r_view.c +++ b/source/r_view.c @@ -921,8 +921,8 @@ cl.simangles[ROLL] = 0; // FIXME @@@ /* if (crosshair.value) CVAR_FIXME */ - if (crosshair->value) - Draw_Crosshair (); +// if (crosshair->value) +// Draw_Crosshair (); } //============================================================================ diff --git a/source/screen.c b/source/screen.c index b8564a9..f23fce9 100644 --- a/source/screen.c +++ b/source/screen.c @@ -1209,6 +1209,9 @@ void SCR_UpdateScreen (void) } else { + if (crosshair->value) + Draw_Crosshair (); + SCR_DrawRam (); SCR_DrawNet (); SCR_DrawTurtle ();