Преглед изворни кода

Fixed wrong index check in clif_parse_laphine_synthesis (#7832)

Jittapan Pluemsumran пре 1 година
родитељ
комит
b6d6f09fd7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/map/clif.cpp

+ 1 - 1
src/map/clif.cpp

@@ -23297,7 +23297,7 @@ void clif_parse_laphine_synthesis( int fd, map_session_data* sd ){
 			return;
 		}
 
-		if( sd->inventory_data[i] == nullptr ){
+		if( sd->inventory_data[index] == nullptr ){
 			return;
 		}