]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix check for enabled scoreboard in vehicles HUD
authorterencehill <piuntn@gmail.com>
Fri, 9 Oct 2015 12:39:32 +0000 (14:39 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 9 Oct 2015 12:39:32 +0000 (14:39 +0200)
qcsrc/common/vehicles/cl_vehicles.qc

index d14f0d0b0753fa7a7a562bb4ef3bffc8fc206c03..386c2dea833fe10852a80bf35a3814b85f512d76 100644 (file)
@@ -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