diff options
Diffstat (limited to 'src/being/playerinfo.cpp')
-rw-r--r-- | src/being/playerinfo.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp index 2016454da..eb26ab892 100644 --- a/src/being/playerinfo.cpp +++ b/src/being/playerinfo.cpp @@ -26,12 +26,13 @@ #include "inventory.h" #include "itemsoundmanager.h" - #include "being/homunculusinfo.h" #include "being/localplayer.h" #include "being/mercenaryinfo.h" #include "being/petinfo.h" +#include "enums/inventorytype.h" + #include "enums/being/attributes.h" #include "gui/windows/inventorywindow.h" @@ -427,10 +428,10 @@ void stateChange(const State state) { if (!mInventory) { - mInventory = new Inventory(Inventory::INVENTORY); + mInventory = new Inventory(InventoryType::INVENTORY); mEquipment = new Equipment(); #ifdef EATHENA_SUPPORT - mCartInventory = new Inventory(Inventory::CART); + mCartInventory = new Inventory(InventoryType::CART); #endif } } |