From b3cf7bd2daeb46a613611e8a5d3f47736b5780e9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Dec 2017 00:51:34 +0300 Subject: Remove default parameter from inventory. --- 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 d56934d31..45c8dff15 100644 --- a/src/being/playerinfo.cpp +++ b/src/being/playerinfo.cpp @@ -470,9 +470,9 @@ void stateChange(const StateT state) { if (mInventory == nullptr) { - mInventory = new Inventory(InventoryType::Inventory); + mInventory = new Inventory(InventoryType::Inventory, -1); mEquipment = new Equipment; - mCartInventory = new Inventory(InventoryType::Cart); + mCartInventory = new Inventory(InventoryType::Cart, -1); } } } -- cgit v1.2.3-60-g2f50