diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-24 15:31:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-24 15:31:06 +0300 |
commit | 3f5c128b889b4cb41f9782fe1531c55e7d07432f (patch) | |
tree | b5903e10142f876d29bf4d4643261f1b058fefe9 /src/being/playerinfo.cpp | |
parent | c53839e9125a72e2bbc5e479934b5b9111bef5d6 (diff) | |
download | plus-3f5c128b889b4cb41f9782fe1531c55e7d07432f.tar.gz plus-3f5c128b889b4cb41f9782fe1531c55e7d07432f.tar.bz2 plus-3f5c128b889b4cb41f9782fe1531c55e7d07432f.tar.xz plus-3f5c128b889b4cb41f9782fe1531c55e7d07432f.zip |
Move inventory type into separate file.
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 } } |