From 2288aa59520b3314c5cd6aa05b67b5b6047c5278 Mon Sep 17 00:00:00 2001 From: terencehill Date: Fri, 9 Oct 2015 14:39:32 +0200 Subject: [PATCH] Fix check for enabled scoreboard in vehicles HUD --- qcsrc/common/vehicles/cl_vehicles.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/common/vehicles/cl_vehicles.qc b/qcsrc/common/vehicles/cl_vehicles.qc index d14f0d0b0..386c2dea8 100644 --- a/qcsrc/common/vehicles/cl_vehicles.qc +++ b/qcsrc/common/vehicles/cl_vehicles.qc @@ -28,7 +28,7 @@ void vehicle_alarm(entity e, int ch, string s0und) void AuxiliaryXhair_Draw2D(entity this) { - if (scoreboard_showscores) + if (scoreboard_active) return; vector size = draw_getimagesize(self.axh_image) * autocvar_cl_vehicles_crosshair_size; @@ -122,7 +122,7 @@ void Vehicles_drawHUD( vector colorAmmo2) { SELFPARAM(); - if(scoreboard_showscores) + if(scoreboard_active) return; // Initialize -- 2.39.2