소스 검색

Fixes a compile error

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

+ 1 - 0
src/map/status.cpp

@@ -10051,6 +10051,7 @@ int status_change_start(struct block_list* src, struct block_list* bl,enum sc_ty
 	}
 
 	int tick = (int)duration;
+	map_session_data *sd = BL_CAST(BL_PC, bl);
 
 	vd = status_get_viewdata(bl);