summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 2ad8bcb25..99d6f9088 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -15482,7 +15482,7 @@ BUILDIN(log10)
{
double i, a;
i = script_getnum(st,2);
- a = log(i);
+ a = log10(i);
script_pushint(st,(int)a);
return true;
}