From: terencehill Date: Fri, 9 Oct 2015 12:39:32 +0000 (+0200) Subject: Fix check for enabled scoreboard in vehicles HUD X-Git-Tag: xonotic-v0.8.2~1799^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2288aa59520b3314c5cd6aa05b67b5b6047c5278;p=xonotic%2Fxonotic-data.pk3dir.git Fix check for enabled scoreboard in vehicles HUD --- 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