summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-01 18:28:42 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-01 18:28:42 -0300
commitcfc878884b5cfd09059ea4b2d9e28bd1473cb11b (patch)
treefb1cacbd020fb5df8fb3084c9b707cf0008877d8
parent2284a251ba8c7fa54f5f165b9dcde7180ca5849e (diff)
downloadserverdata-cfc878884b5cfd09059ea4b2d9e28bd1473cb11b.tar.gz
serverdata-cfc878884b5cfd09059ea4b2d9e28bd1473cb11b.tar.bz2
serverdata-cfc878884b5cfd09059ea4b2d9e28bd1473cb11b.tar.xz
serverdata-cfc878884b5cfd09059ea4b2d9e28bd1473cb11b.zip
Actually, it should be str() instead of atoi(). Fix a spurious next.
-rw-r--r--npc/014-2/guards.txt1
-rw-r--r--npc/020-4/gambler.txt2
2 files changed, 1 insertions, 2 deletions
diff --git a/npc/014-2/guards.txt b/npc/014-2/guards.txt
index e2a2f463e..20a77907e 100644
--- a/npc/014-2/guards.txt
+++ b/npc/014-2/guards.txt
@@ -29,7 +29,6 @@
} else {
mesn;
mesq l("In fact, it is flooded at the moment. Come back later.");
- next;
}
close;
diff --git a/npc/020-4/gambler.txt b/npc/020-4/gambler.txt
index 5093c0c3f..bf81a131a 100644
--- a/npc/020-4/gambler.txt
+++ b/npc/020-4/gambler.txt
@@ -19,7 +19,7 @@
case 13:
return l("Joker"); break;
default:
- return atoi(getarg(0)+1);
+ return getarg(0)+1;
}
}