From 3f5c128b889b4cb41f9782fe1531c55e7d07432f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 24 Jan 2015 15:31:06 +0300 Subject: Move inventory type into separate file. --- src/being/playerinfo.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/being/playerinfo.cpp') 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 } } -- cgit v1.2.3-60-g2f50