Procházet zdrojové kódy

Fixed wrong index check in clif_parse_laphine_synthesis (#7832)

Jittapan Pluemsumran před 1 rokem
rodič
revize
b6d6f09fd7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;
 		}