summaryrefslogtreecommitdiff
path: root/npc/guild
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-31 21:56:42 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-31 21:56:42 +0000
commit23ed5af9a84477a11d3e946c97d39e7ed5725bfd (patch)
tree685802fd7892be3ba06ab08ce7d6544e47ca1088 /npc/guild
parent03e28514161087c8400d8b94446fba2487dd36d9 (diff)
downloadhercules-23ed5af9a84477a11d3e946c97d39e7ed5725bfd.tar.gz
hercules-23ed5af9a84477a11d3e946c97d39e7ed5725bfd.tar.bz2
hercules-23ed5af9a84477a11d3e946c97d39e7ed5725bfd.tar.xz
hercules-23ed5af9a84477a11d3e946c97d39e7ed5725bfd.zip
- Changed Gld_Trea_Protect: guild members (who aren't the Guild Master) ARE allowed in the treasure room. (bugreport:4839)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15339 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild')
-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;
}