From 9760cf60e0caa56fd3cfac8dac3f2985f5ce42d5 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 26 Dec 2019 12:33:19 +1000 Subject: [PATCH] Fix compile --- qcsrc/common/mapobjects/func/rainsnow.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/mapobjects/func/rainsnow.qc b/qcsrc/common/mapobjects/func/rainsnow.qc index e348599f3..8414700a7 100644 --- a/qcsrc/common/mapobjects/func/rainsnow.qc +++ b/qcsrc/common/mapobjects/func/rainsnow.qc @@ -126,7 +126,7 @@ void Draw_Snow(entity this) if(boxesoverlap(view_origin - maxdist, view_origin + maxdist, this.absmin, this.absmax)) //if(autocvar_cl_rainsnow_maxdrawdist <= 0 || vdist(vec2(this.origin) - vec2(this.absmin + this.absmax * 0.5), <=, autocvar_cl_rainsnow_maxdrawdist)) - te_particlesnow(effbox_min, effbox_max, this.velocity, floor(this.count * drawframetime + random()), this.glow_color); + te_particlesnow(effbox_min, effbox_max, this.velocity, floor(mycount * drawframetime + random()), this.glow_color); } NET_HANDLE(ENT_CLIENT_RAINSNOW, bool isnew) -- 2.39.2