Explorar el Código

Fixed item restrictions for noreturn

Fixes #7537

Thanks to @mazvi
Lemongrass3110 hace 2 años
padre
commit
e64c5bce35
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/map/pc.cpp

+ 1 - 1
src/map/pc.cpp

@@ -6065,7 +6065,7 @@ bool pc_isUseitem(map_session_data *sd,int n)
 		}
 	}
 
-	if( itemdb_group.item_exists( MF_NORETURN, nameid ) ){
+	if( itemdb_group.item_exists( IG_MF_NORETURN, nameid ) ){
 		if( mapdata->flag[MF_NORETURN] ){
 			return false;
 		}