From 50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5 Mon Sep 17 00:00:00 2001 From: gumi Date: Sun, 20 Oct 2019 13:40:25 -0400 Subject: convert scripts to use getguildinfo() --- npc/woe-fe/trs_rp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/woe-fe/trs_rp.txt') 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")) -- cgit v1.2.3-60-g2f50