From 8d0883415076ecdc66c1ee4c8013dda9ef8be38f Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 26 May 2018 18:06:33 +1000 Subject: [PATCH] Fix rain maths so it isn't multiplied too much --- qcsrc/common/triggers/func/rainsnow.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/common/triggers/func/rainsnow.qc b/qcsrc/common/triggers/func/rainsnow.qc index ff49eca2c..c765a4293 100644 --- a/qcsrc/common/triggers/func/rainsnow.qc +++ b/qcsrc/common/triggers/func/rainsnow.qc @@ -44,7 +44,7 @@ spawnfunc(func_rain) if (!this.count) this.count = 2000; // relative to absolute particle count - this.count = this.count * (this.size_x / 1024) * (this.size_y / 1024); + this.count = 0.1 * this.count * (this.size_x / 1024) * (this.size_y / 1024); if (this.count < 1) this.count = 1; if(this.count > 65535) @@ -84,7 +84,7 @@ spawnfunc(func_snow) if (!this.count) this.count = 2000; // relative to absolute particle count - this.count = this.count * (this.size_x / 1024) * (this.size_y / 1024); + this.count = 0.1 * this.count * (this.size_x / 1024) * (this.size_y / 1024); if (this.count < 1) this.count = 1; if(this.count > 65535) -- 2.39.2