remove some memcpy/memset calls in favor of default constructors
This commit is contained in:
@@ -59,6 +59,8 @@ struct PlayerInventory {
|
||||
uint8_t language;
|
||||
PlayerInventoryItem items[30];
|
||||
|
||||
PlayerInventory();
|
||||
|
||||
size_t find_item(uint32_t item_id);
|
||||
} __attribute__((packed));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user