summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/guild/agit_template.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/guild/agit_template.txt b/npc/guild/agit_template.txt
index c380c9fd0..1e35719d7 100644
--- a/npc/guild/agit_template.txt
+++ b/npc/guild/agit_template.txt
@@ -1126,7 +1126,7 @@ OnTouch:
// Store the Guild ID of castle occupant.
set .@GID, GetCastleData(strnpcinfo(2),1);
- if (strcharinfo(0) != getguildmaster(.@GID)) {
+ if (getcharid(2) != .@GID) {
if (compare(strnpcinfo(2),"aldeg")) {
warp "aldebaran",132,103;
}