summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-15 22:16:23 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-15 22:16:23 -0200
commitbf44d9d4b5593fa59aa63e5d4384d88693c76445 (patch)
tree80b083ab2a0ba2aa08d0493b5e23b12cbfe9cd92 /npc/functions
parenta37171a9f46a5417f06d47e98acebde0d504d4e2 (diff)
downloadserverdata-bf44d9d4b5593fa59aa63e5d4384d88693c76445.tar.gz
serverdata-bf44d9d4b5593fa59aa63e5d4384d88693c76445.tar.bz2
serverdata-bf44d9d4b5593fa59aa63e5d4384d88693c76445.tar.xz
serverdata-bf44d9d4b5593fa59aa63e5d4384d88693c76445.zip
...bugs...
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 a7be729a3..3c2c935d9 100644
--- a/npc/functions/math.txt
+++ b/npc/functions/math.txt
@@ -53,7 +53,7 @@ function script log2 {
if (2**.@i == .@v) {
.@ok=1;
// inexact match, or limit exceeded
- } if (2**.@i >= .@v || .@i > 20) {
+ } else if (2**.@i >= .@v || .@i > 20) {
.@ok=1;
.@i-=1; // round down
// not yet