]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/vehicles/vehicle/raptor.qc
Remove some more unnecessary WITHSELFs
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / vehicles / vehicle / raptor.qc
index 1e364e5491e52040cf787b6a9035290a27d3f436..9dbf5825ff20f96f09d0834ed3a0e577894e2806 100644 (file)
@@ -411,7 +411,7 @@ bool raptor_frame(entity this)
                if(PHYS_INPUT_BUTTON_ATCK2(this))
                {
                    .entity weaponentity = weaponentities[1];
-                       WITHSELF(vehic, wep2a.wr_think(wep2a, vehic, weaponentity, 2));
+                       wep2a.wr_think(wep2a, vehic, weaponentity, 2);
                        vehic.delay = time + autocvar_g_vehicle_raptor_bombs_refire;
                        vehic.lip   = time;
                }
@@ -423,7 +423,7 @@ bool raptor_frame(entity this)
                if(PHYS_INPUT_BUTTON_ATCK2(this))
                {
                    .entity weaponentity = weaponentities[1];
-                       WITHSELF(vehic, wep2b.wr_think(wep2b, vehic, weaponentity, 2));
+                       wep2b.wr_think(wep2b, vehic, weaponentity, 2);
                        vehic.delay = time + autocvar_g_vehicle_raptor_flare_refire;
                        vehic.lip   = time;
                }