瀏覽代碼

Adjusted a spot that still caused a guild leader's guild skills to get blocked on login

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11146 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage 18 年之前
父節點
當前提交
8519665bdb
共有 2 個文件被更改,包括 7 次插入3 次删除
  1. 2 0
      Changelog-Trunk.txt
  2. 5 3
      src/map/guild.c

+ 2 - 0
Changelog-Trunk.txt

@@ -3,6 +3,8 @@ Date	Added
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
+2007/09/08
+	* Adjusted a spot that still blocked GL's skills on login [ultramage]
 2007/09/07
 	* Added support for the new party invite/reply packets from the latest
 	  client version.

+ 5 - 3
src/map/guild.c

@@ -550,11 +550,13 @@ int guild_recv_info(struct guild *sg)
 
 		// 最初のロードなのでユーザーのチェックを行う
 		guild_check_member(sg);
-		//If the guild master is online the first time the guild_info is received, that means he was the first to join,
-		//and as such, his guild skills should be blocked to avoid login/logout abuse [Skotlex]
 		if ((sd = map_nick2sd(sg->master)) != NULL)
 		{
-			guild_block_skill(sd, 300000);
+			//If the guild master is online the first time the guild_info is received, that means he was the first to join,
+			//and as such, his guild skills should be blocked to avoid login/logout abuse [Skotlex]
+			//(optionally)
+			//guild_block_skill(sd, 300000);
+
 			//Also set the guild master flag.
 			sd->state.gmaster_flag = g;
 			clif_charnameupdate(sd); // [LuzZza]