From 6266b64d7c7b0862db2b058021b81e7fb316330e Mon Sep 17 00:00:00 2001 From: alf9310 Date: Sun, 9 Nov 2025 16:43:04 -0500 Subject: dungeon_generation: variables changed from usize to u16 for pos compatability --- dungeon/src/map.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dungeon/src/map.rs') diff --git a/dungeon/src/map.rs b/dungeon/src/map.rs index eda467c..9e43faf 100644 --- a/dungeon/src/map.rs +++ b/dungeon/src/map.rs @@ -43,6 +43,8 @@ impl Tile { pub fn is_wall(self) -> bool { self == Self::Wall } + + // Index by u16 } impl Default for Tile { fn default() -> Self { -- cgit v1.2.3-freya