fix starting inventory on new BB chars

This commit is contained in:
Martin Michelsen
2023-11-22 12:28:11 -08:00
parent 14a86610ed
commit 9097abf307
4 changed files with 154 additions and 12 deletions
+3
View File
@@ -52,6 +52,9 @@ struct PlayerInventoryItem {
/* 04 */ le_uint32_t flags = 0; // 8 = equipped
/* 08 */ ItemData data;
/* 1C */
PlayerInventoryItem() = default;
explicit PlayerInventoryItem(const ItemData& item, bool equipped = false);
} __attribute__((packed));
struct PlayerBankItem {