summaryrefslogtreecommitdiff
path: root/npc/woe-fe/trs_rp.txt
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2019-10-20 13:40:25 -0400
committergumi <git@gumi.ca>2019-10-20 22:20:12 -0400
commit50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5 (patch)
tree16ee679469af6aba9aa8b50b5985508e9715a450 /npc/woe-fe/trs_rp.txt
parent9127ead75b9baa4e6372d11cb4ba033651976629 (diff)
downloadhercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.gz
hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.bz2
hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.xz
hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.zip
convert scripts to use 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"))