소스 검색

- Fixed wrong expire calculation on Wall of Fog used over Deluge (Bug report 1301).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12451 54d463be-8e91-2dee-dedb-b68131a5f0ec
zephyrus 17 년 전
부모
커밋
2fedf05582
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/map/skill.c

+ 1 - 1
src/map/skill.c

@@ -6406,6 +6406,7 @@ struct skill_unit_group* skill_unitsetting (struct block_list *src, short skilli
 			safestrncpy(group->valstr, "Boo!", MESSAGE_SIZE);
 	}
 
+	limit = group->limit;
 	for( i = 0; i < layout->count; i++ )
 	{
 		struct skill_unit *unit;
@@ -6413,7 +6414,6 @@ struct skill_unit_group* skill_unitsetting (struct block_list *src, short skilli
 		int uy = y + layout->dy[i];
 		int val1 = skilllv;
 		int val2 = 0;
-		int limit = group->limit;
 		int alive = 1;
 
 		if( !group->state.song_dance && !map_getcell(src->m,ux,uy,CELL_CHKREACH) )