diff options
| author | troido <troido@protonmail.com> | 2020-02-07 19:10:13 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-02-07 19:10:13 +0100 |
| commit | 940b1c762bb98a56dddc6e3e7f208867abb3ebe5 (patch) | |
| tree | f0535ace5a5a9643fb735f1970fa1b338ec9fea9 /src/systems | |
| parent | 3d0d1279627aeee984fa29546aeee6855c9ef2c9 (diff) | |
added roomtemplate
Diffstat (limited to 'src/systems')
| -rw-r--r-- | src/systems/view.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systems/view.rs b/src/systems/view.rs index 9a4dbf9..9ab6faf 100644 --- a/src/systems/view.rs +++ b/src/systems/view.rs @@ -103,7 +103,7 @@ impl <'a> System<'a> for View { } } -fn draw_room(cells: HashMap<Pos, Vec<Visible>>, (width, height): (i32, i32)) -> (Vec<usize>, Vec<Vec<String>>){ +fn draw_room(cells: HashMap<Pos, Vec<Visible>>, (width, height): (i64, i64)) -> (Vec<usize>, Vec<Vec<String>>){ let size = width * height; let mut values :Vec<usize> = Vec::with_capacity(size as usize); |
