diff options
| author | troido <troido@protonmail.com> | 2020-02-10 11:55:20 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-02-10 11:55:20 +0100 |
| commit | f6d1d4ea258490670ee1605c596a6ba9a49a77db (patch) | |
| tree | dae5da3c0a5db2630a81999ffc298797082618ac /src/components.rs | |
| parent | b0e665f5436e08e4fd7446a59b87ac28f562a601 (diff) | |
inventories have capacity
Diffstat (limited to 'src/components.rs')
| -rw-r--r-- | src/components.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components.rs b/src/components.rs index 8be8364..5e1c979 100644 --- a/src/components.rs +++ b/src/components.rs @@ -69,7 +69,7 @@ impl Player { #[derive(Debug, Clone, Default)] pub struct Inventory { pub items: Vec<Item>, - pub capacity: u64 + pub capacity: usize } impl Component for Inventory { type Storage = FlaggedStorage<Self, HashMapStorage<Self>>; |
