Explorar o código

Fixed item restrictions for noreturn

Fixes #7537

Thanks to @mazvi
Lemongrass3110 %!s(int64=2) %!d(string=hai) anos
pai
achega
e64c5bce35
Modificáronse 1 ficheiros con 1 adicións e 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;
 		}