瀏覽代碼

Fixed item restrictions for noreturn

Fixes #7537

Thanks to @mazvi
Lemongrass3110 2 年之前
父節點
當前提交
e64c5bce35
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
 		}