From: Mario Date: Thu, 26 Dec 2019 02:33:19 +0000 (+1000) Subject: Fix compile X-Git-Tag: xonotic-v0.8.5~1161^2~4^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9760cf60e0caa56fd3cfac8dac3f2985f5ce42d5;p=xonotic%2Fxonotic-data.pk3dir.git Fix compile --- 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)