summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-28 02:33:04 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-28 02:33:04 +0200
commit6cac57464c0242e761a11012525e4d5c11ae5714 (patch)
tree9c570f531a7645646ecc4e35f5096eb34946b626
parent9a06857cc3ad2ad8f00b52ccc33f6c07342ad985 (diff)
downloadhercules-6cac57464c0242e761a11012525e4d5c11ae5714.tar.gz
hercules-6cac57464c0242e761a11012525e4d5c11ae5714.tar.bz2
hercules-6cac57464c0242e761a11012525e4d5c11ae5714.tar.xz
hercules-6cac57464c0242e761a11012525e4d5c11ae5714.zip
Enlarge field size of npc_item_flag in struct script_state according to possible values
-rw-r--r--src/map/script.h2
1 files changed, 1 insertions, 1 deletions
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;
};