gdritter repos wenaglia / 39528cc
Off-by-one error in tiled map reading Getty Ritter 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Collapse all Expand all
6565 DrawLayer::Decoration => e.with(Decoration),
6666 };
6767
68 let e = if tilesets[0].tiles[n as usize].properties["pass"]
68 let e = if tilesets[0].tiles[(n-1) as usize].properties["pass"]
6969 == tiled::PropertyValue::BoolValue(false)
7070 {
7171 e.with(Blocking::new())