summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-27 13:10:51 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-27 13:10:51 -0300
commitb23cfbfb47e8aa6aeab6cbddbeaebc973830134a (patch)
tree0606811a831cf4152d22cdc0fe9a55a94a8807f7 /npc
parent73a22e7a1f7bad1d711221453c6562e8f3140449 (diff)
downloadserverdata-b23cfbfb47e8aa6aeab6cbddbeaebc973830134a.tar.gz
serverdata-b23cfbfb47e8aa6aeab6cbddbeaebc973830134a.tar.bz2
serverdata-b23cfbfb47e8aa6aeab6cbddbeaebc973830134a.tar.xz
serverdata-b23cfbfb47e8aa6aeab6cbddbeaebc973830134a.zip
Add functional constants
Diffstat (limited to 'npc')
-rw-r--r--npc/003-3/malindou.txt1
-rw-r--r--npc/functions/hub.txt2
2 files changed, 1 insertions, 2 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index fe1bbaa93..e954735bc 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -69,7 +69,6 @@ OnInit:
$BCONFD_DROP = 0;
$BETASERVER = false;
$AUTORESTART = false;
- $WID = 1;
$FIRESOFSTEAM[1] = 2000;
$FIRESOFSTEAM[2] = 2000;
$FIRESOFSTEAM[3] = 2000;
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 14e15724b..12c5e8dda 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -33,7 +33,7 @@ function script HUB_Login {
debugmes "VAULT LOGIN, GTO is %d MLP is %d", .@gto, .@mlp;
*/
// Work only on new chars, or chars which cleared Tulimshar.
- if (.@gto == $WID &&
+ if (.@gto == WORLD_ID &&
(!getq(General_Narrator) ||
(getq(General_Narrator) && BaseLevel > 20)))
{