diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/world/map.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/world/map.rs b/client/src/world/map.rs index c6355f2..c8522b9 100644 --- a/client/src/world/map.rs +++ b/client/src/world/map.rs @@ -64,15 +64,18 @@ impl Map { } for layer_idx in group.layer_indices { + info!("loading {}", pretty::AlmostString::new(&group.name)); let layer = map.layer(layer_idx).unwrap(); let tilemap = if let reader::LayerType::Tilemap(t) = layer.t { t } else { + warn!("non-tilemap layer skipped"); continue; }; let normal = if let Some(n) = tilemap.type_.to_normal() { n } else { + warn!("non-normal layer skipped"); continue; }; let tiles = map.layer_tiles(tilemap.tiles(normal.data)).unwrap(); |