summaryrefslogtreecommitdiff
path: root/npc/woe-fe/trs_rp.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-11-17 15:53:05 +0100
committerGitHub <noreply@github.com>2019-11-17 15:53:05 +0100
commitd92a4cdd378ab3c952f2419c46cd645348e1c61f (patch)
treecdeea33ba7d1ce3672f44c772bc0b853b21da02e /npc/woe-fe/trs_rp.txt
parent16f3d5e12cdf28c5209af7ce74d1dfe4614deb00 (diff)
parent50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5 (diff)
downloadhercules-d92a4cdd378ab3c952f2419c46cd645348e1c61f.tar.gz
hercules-d92a4cdd378ab3c952f2419c46cd645348e1c61f.tar.bz2
hercules-d92a4cdd378ab3c952f2419c46cd645348e1c61f.tar.xz
hercules-d92a4cdd378ab3c952f2419c46cd645348e1c61f.zip
Merge pull request #2566 from Helianthella/guild
add getguildinfo()
Diffstat (limited to 'npc/woe-fe/trs_rp.txt')
-rw-r--r--npc/woe-fe/trs_rp.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/woe-fe/trs_rp.txt b/npc/woe-fe/trs_rp.txt
index 7a71c1bbe..775b0befd 100644
--- a/npc/woe-fe/trs_rp.txt
+++ b/npc/woe-fe/trs_rp.txt
@@ -39,7 +39,7 @@ end;
OnTouch:
// Store the Guild ID of castle occupant.
.@GID = getcastledata(strnpcinfo(NPC_NAME_HIDDEN),1);
- if (strcharinfo(PC_NAME) != getguildmaster(.@GID)) {
+ if (strcharinfo(PC_NAME) != getguildinfo(GUILDINFO_MASTER_NAME, .@GID)) {
if (compare(strnpcinfo(NPC_NAME_HIDDEN),"aldeg"))
warp "aldebaran",143,112;
else if (compare(strnpcinfo(NPC_NAME_HIDDEN),"gefg"))