Browse Source

Fixed item restrictions for noreturn

Fixes #7537

Thanks to @mazvi
Lemongrass3110 2 years ago
parent
commit
e64c5bce35
1 changed files with 1 additions and 1 deletions
  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;
 		}