]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/tracing.qc
Add a wrapper for networked cvars and attach them to the client rather than the clien...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / tracing.qc
index b345b0984018ec8ccd77df2d03df5396f058630f..686634c7acfdadae38a1a19e29d521643b78ebe5 100644 (file)
@@ -107,7 +107,7 @@ void W_SetupShot_Dir_ProjectileSize_Range(entity ent, .entity weaponentity, vect
        //vector prevend = w_shotend;
 
        if (antilag)
-       if (!CS(ent).cvar_cl_noantilag)
+       if (!CS_CVAR(ent).cvar_cl_noantilag)
        {
                if (autocvar_g_antilag == 1) // switch to "ghost" if not hitting original
                {