浏览代码

- Changed Gld_Trea_Protect: guild members (who aren't the Guild Master) ARE allowed in the treasure room. (bugreport:4839)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15339 54d463be-8e91-2dee-dedb-b68131a5f0ec
brianluau 13 年之前
父节点
当前提交
e8b07466ec
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      npc/guild/agit_template.txt

+ 1 - 1
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;
 		}