From 5e8e53f6e795a84ab5ca6cfe0d08672878044707 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Nov 2015 22:17:15 +0300 Subject: Convert InventoryType enum into strong typed. --- src/being/playerinfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being/playerinfo.cpp') diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp index b3c3f5bb4..a665001ce 100644 --- a/src/being/playerinfo.cpp +++ b/src/being/playerinfo.cpp @@ -466,10 +466,10 @@ void stateChange(const State state) { if (!mInventory) { - mInventory = new Inventory(InventoryType::INVENTORY); + mInventory = new Inventory(InventoryType::Inventory); mEquipment = new Equipment(); #ifdef EATHENA_SUPPORT - mCartInventory = new Inventory(InventoryType::CART); + mCartInventory = new Inventory(InventoryType::Cart); #endif } } -- cgit v1.2.3-60-g2f50