]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/vehicles/cl_vehicles.qc
Some minor cleanup
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / vehicles / cl_vehicles.qc
index 9a2598f8290a390b3f9d294eb1a32ee791179ab5..8c4bd6044bfa7209befd6861e0d60cdaa60d2753 100644 (file)
@@ -13,8 +13,8 @@
 #define hud_energy "gfx/vehicles/energy.tga"
 
 entity dropmark;
-var float autocvar_cl_vehicles_hudscale = 0.5;
-var float autocvar_cl_vehicles_hudalpha = 0.75;
+float autocvar_cl_vehicles_hudscale = 0.5;
+float autocvar_cl_vehicles_hudalpha = 0.75;
 
 const float MAX_AXH = 4;
 entity AuxiliaryXhair[MAX_AXH];
@@ -52,9 +52,9 @@ void AuxiliaryXhair_Draw2D()
                self.draw2d = func_null;
 }
 
-void Net_AuXair2(float bIsNew)
+void Net_AuXair2(bool bIsNew)
 {
-       float axh_id    = bound(0, ReadByte(), MAX_AXH);
+       int axh_id      = bound(0, ReadByte(), MAX_AXH);
        entity axh              = AuxiliaryXhair[axh_id];
 
        if(axh == world || wasfreed(axh))  // MADNESS? THIS IS QQQQCCCCCCCCC (wasfreed, why do you exsist?)