]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't call crosshair_trace on racer (results appear to be unused, reduces load)
authorMario <mario@smbclan.net>
Sat, 26 Mar 2016 19:17:22 +0000 (05:17 +1000)
committerMario <mario@smbclan.net>
Sat, 26 Mar 2016 19:17:22 +0000 (05:17 +1000)
qcsrc/common/vehicles/vehicle/racer.qc

index da259784f64a5c7c45a2bfe5192571b49b96a3d8..bb3a1cbcb4dd1c1345076641e1106c2560af4439 100644 (file)
@@ -195,7 +195,7 @@ bool racer_frame(entity this)
 
        PHYS_INPUT_BUTTON_ZOOM(this) = PHYS_INPUT_BUTTON_CROUCH(this) = false;
 
-       crosshair_trace(this);
+       //crosshair_trace(this);
 
        vehic.angles_x *= -1;