]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/vehicles/cl_vehicles.qc
Use SELFPARAM() in every function that uses self
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / vehicles / cl_vehicles.qc
index 141f8fc42d59b5362e4e8bfad7712cc27c8c22fb..b6c8844abd8028920814b047c0b3b62202fa7326 100644 (file)
@@ -27,7 +27,7 @@ void vehicle_alarm(entity e, int ch, string s0und)
 }
 
 void AuxiliaryXhair_Draw2D()
-{
+{SELFPARAM();
        if (scoreboard_showscores)
                return;
 
@@ -73,7 +73,7 @@ void Net_AuXair2(bool bIsNew)
 }
 
 void Net_VehicleSetup()
-{
+{SELFPARAM();
        int hud_id = ReadByte();
 
        // hud_id == 0 means we exited a vehicle, so stop alarm sound/s
@@ -119,7 +119,7 @@ void Vehicles_drawHUD(
        string iconAmmo2,
        vector colorAmmo2,
        string crosshair)
-{
+{SELFPARAM();
        if(autocvar_r_letterbox)
                return;