remove some memcpy/memset calls in favor of default constructors

This commit is contained in:
Martin Michelsen
2022-05-08 00:28:06 -07:00
parent 1e3dd6a274
commit 855d3616da
7 changed files with 30 additions and 20 deletions
+2
View File
@@ -59,6 +59,8 @@ struct PlayerInventory {
uint8_t language;
PlayerInventoryItem items[30];
PlayerInventory();
size_t find_item(uint32_t item_id);
} __attribute__((packed));