small fixes

This commit is contained in:
MihailRis
2024-12-05 22:36:12 +03:00
parent 84b3b82dba
commit 605d7e7897
4 changed files with 15 additions and 7 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
Inventory::Inventory(int64_t id, size_t size) : id(id), slots(size) {
}
Inventory::Inventory(const Inventory& orig) {
Inventory::Inventory(const Inventory& orig) : id(0) {
this->slots = orig.slots;
}