From 6cac57464c0242e761a11012525e4d5c11ae5714 Mon Sep 17 00:00:00 2001 From: Kenpachi Developer Date: Sun, 28 Jun 2020 02:33:04 +0200 Subject: Enlarge field size of npc_item_flag in struct script_state according to possible values --- src/map/script.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/script.h b/src/map/script.h index df5297ac0..4bf8c436b 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -703,7 +703,7 @@ struct script_state { int bk_npcid; unsigned freeloop : 1;// used by buildin_freeloop unsigned op2ref : 1;// used by op_2 - unsigned npc_item_flag : 1; + unsigned npc_item_flag : 2; unsigned int id; }; -- cgit v1.2.3-70-g09d2