Turned on all the warnings I could handle and made them into errors then fixed them all. Worldbuilder needs a refactor in random_path.
This commit is contained in:
parent
f3f875ee80
commit
128fc4f540
19 changed files with 85 additions and 85 deletions
|
@ -14,9 +14,9 @@ namespace components {
|
|||
};
|
||||
|
||||
struct Inventory {
|
||||
int gold;
|
||||
LightSource light;
|
||||
std::vector<InventoryItem> items;
|
||||
int gold=0;
|
||||
LightSource light{0, 0};
|
||||
std::vector<InventoryItem> items{};
|
||||
|
||||
size_t count() { return items.size(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue