From 1cb2de47c488b9c1271e2a1af7e0cdcd108b152b Mon Sep 17 00:00:00 2001 From: Juliano Leal Goncalves Date: Sat, 12 Jun 2021 17:17:22 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20Expand=20underlying=20t?= =?UTF-8?q?ype=20of=20'=5Fitem=5Findexes'=20to=20'uint16'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This matches existing usages which rely on constant value 0xFFFF when unpacking items. --- Source/itemdat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/itemdat.h b/Source/itemdat.h index 6318f73f5..5b6ab590c 100644 --- a/Source/itemdat.h +++ b/Source/itemdat.h @@ -13,7 +13,7 @@ namespace devilution { /** @todo add missing values and apply */ -enum _item_indexes : uint8_t { +enum _item_indexes : uint16_t { IDI_GOLD, IDI_WARRIOR, IDI_WARRSHLD,