]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/weapon/vaporizer.qc
entcs: cleanup
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / weapon / vaporizer.qc
index 8059f3272bcfddc8112579e22bc8ccd32f7de7fc..6e7e386e5de48ef6b89101280ea01b3e2c5e79e7 100644 (file)
@@ -103,7 +103,7 @@ void VaporizerBeam_Draw(entity this)
        string tex = "particles/lgbeam";
        if(this.cnt)
                tex = "particles/gauntletbeam";
-       vector rgb = getcsqcplayercolor(this.sv_entnum);
+       vector rgb = getcsqcplayercolor(this.sv_entnum - 1);
        rgb *= (1 + autocvar_cl_vaporizerbeam_colorboost);
 
        float fail = (self.nextthink - time);