summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-08-21 00:33:35 -0300
committerJesusaves <cpntb1@ymail.com>2021-08-21 00:33:35 -0300
commit8450e3d70818f543bd7958c5306434eebe0b71d6 (patch)
treeb6dfeec7809ba2d2d8d8d73f2e3051103f7a267e /npc
parent04f3475cd0d4554905ba676508173680e6a3d1a6 (diff)
downloadserverdata-8450e3d70818f543bd7958c5306434eebe0b71d6.tar.gz
serverdata-8450e3d70818f543bd7958c5306434eebe0b71d6.tar.bz2
serverdata-8450e3d70818f543bd7958c5306434eebe0b71d6.tar.xz
serverdata-8450e3d70818f543bd7958c5306434eebe0b71d6.zip
Use dnext wrapper on narrator instead of the next.
This means that such NPCs will now always be treated as a text wall. Therefore, they'll respect GSET_LONGMENU_DENSITY setting.
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/main.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 2e3e03b0a..31464efbc 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -154,11 +154,11 @@ function script narrator {
{
mes col(getarg(.@i), 9);
if (.@i < .@argc - 1)
- next;
+ dnext;
}
if (.@flags & 0x4)
- next;
+ dnext;
else if (.@flags & 0x2)
mes "";