소스 검색

Fixes invincible timer check

aleos 1 년 전
부모
커밋
e3eefb6acc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/map/clif.cpp

+ 1 - 1
src/map/clif.cpp

@@ -11232,7 +11232,7 @@ void clif_parse_LoadEndAck(int fd,map_session_data *sd)
 	}
 
 	// Trigger skill effects if you appear standing on them
-	if (mapdata && mapdata->getMapFlag(MF_INVINCIBLE_TIME))
+	if (sd->invincible_timer == INVALID_TIMER)
 		skill_unit_move(&sd->bl,gettick(),1);
 
 	pc_show_questinfo_reinit(sd);