♻️ Convert 'ItemType' enum to enum class

🎨 Rename 'ItemType' elements to enum class standards
This commit is contained in:
Juliano Leal Goncalves 2021-09-06 22:48:01 -03:00 committed by Anders Jenbo
commit 379a27b64a
23 changed files with 703 additions and 703 deletions

View file

@ -161,7 +161,7 @@ std::string DebugCmdTakeGoldCheat(const string_view parameter)
if (itemId < 0)
continue;
if (myPlayer.InvList[itemId]._itype != ITYPE_GOLD)
if (myPlayer.InvList[itemId]._itype != ItemType::Gold)
continue;
myPlayer.RemoveInvItem(itemId);