Browse Source

🏷️ Expand underlying type of '_item_indexes' to 'uint16'

This matches existing usages which rely on constant value 0xFFFF when unpacking items.
pull/2163/head
Juliano Leal Goncalves 5 years ago committed by Anders Jenbo
parent
commit
1cb2de47c4
  1. 2
      Source/itemdat.h

2
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,

Loading…
Cancel
Save