Pārlūkot izejas kodu

Follow up 70b8b8b, an error for PRE-RE

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
Cydh Ramdh 10 gadi atpakaļ
vecāks
revīzija
4fd7e46345
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/map/skill.c

+ 1 - 1
src/map/skill.c

@@ -12758,7 +12758,7 @@ int skill_unit_onplace_timer (struct skill_unit *unit, struct block_list *bl, un
 				case WZ_STORMGUST: //SG counter does not reset per stormgust. IE: One hit from a SG and two hits from another will freeze you.
 					if (tsc)
 						tsc->sg_counter++; //SG hit counter.
-					if (skill_attack(skill_get_type(sg->skill_id),ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0) <= 0 && tsc)
+					if (skill_attack(skill_get_type(sg->skill_id),ss,&unit->bl,bl,sg->skill_id,sg->skill_lv,tick,0) <= 0 && tsc)
 						tsc->sg_counter=0; //Attack absorbed.
 				break;
 #endif