summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-22 14:21:39 -0300
committerJesusaves <cpntb1@ymail.com>2019-04-22 14:21:39 -0300
commitaac0217c3918417524f04bc22a9578d0d3ace0aa (patch)
treebf4e9216fe7ac826d7b3a7699d3dc8c1f0385f41 /npc/functions
parent968bcf66efed06852ecfe6532603017af8195c6b (diff)
downloadserverdata-aac0217c3918417524f04bc22a9578d0d3ace0aa.tar.gz
serverdata-aac0217c3918417524f04bc22a9578d0d3ace0aa.tar.bz2
serverdata-aac0217c3918417524f04bc22a9578d0d3ace0aa.tar.xz
serverdata-aac0217c3918417524f04bc22a9578d0d3ace0aa.zip
Fix .@h2 on ponderate_avg
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/math.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/math.txt b/npc/functions/math.txt
index a07b46280..b213cfd79 100644
--- a/npc/functions/math.txt
+++ b/npc/functions/math.txt
@@ -86,7 +86,7 @@ function script ponderate_avg {
.@s2=getarg(3);
.@h1=.@a1*.@s1;
- .@h2=.@a1*.@s1;
+ .@h2=.@a2*.@s2;
.@dd=.@s1+.@s2;
return (.@h1+.@h2)/.@dd;