]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/vehicles/vehicles.qc
Declare more ints as ints
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / vehicles / vehicles.qc
index 989c3fa6c03f33da0336c7a3263989d539ed7f03..f5e470ce0ef8df5d0aff3916f81d22ffba6b3e30 100644 (file)
@@ -116,7 +116,6 @@ void Net_AuXair2(bool bIsNew)
 
 void Net_VehicleSetup()
 {
-    int i;
     int hud_id = ReadByte();
 
     // Weapon update?
@@ -137,10 +136,10 @@ void Net_VehicleSetup()
     hud_id  = bound(HUD_VEHICLE_FIRST, hud_id, HUD_VEHICLE_LAST);
 
     // Init auxiliary crosshairs
-    entity axh;
+    int i;
     for(i = 0; i < MAX_AXH; ++i)
     {
-        axh = AuxiliaryXhair[i];
+        entity axh = AuxiliaryXhair[i];
         if(axh != world && !wasfreed(axh))  // MADNESS? THIS IS QQQQCCCCCCCCC (wasfreed, why do you exsist?)
             remove(axh);