diff options
Diffstat (limited to 'src/being/playerinfo.cpp')
-rw-r--r-- | src/being/playerinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } } |