♻️ Convert 'ItemType' enum to enum class
🎨 Rename 'ItemType' elements to enum class standards
This commit is contained in:
parent
5607c58daa
commit
379a27b64a
23 changed files with 703 additions and 703 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue