|
@@ -57,7 +57,7 @@ pub fn world_from_file<P: AsRef<Path>>(w: &mut specs::World, path: P) {
|
|
|
let u = ((n - 1) % 32) as u8;
|
|
|
let v = ((n - u as u32 - 1) / 32) as u8;
|
|
|
let is_blocking = tilesets[0].tiles[(n-1) as usize].properties["pass"]
|
|
|
- == tiled::PropertyValue::BoolValue(false);
|
|
|
+ == consts::TILED_FALSE;
|
|
|
let mut e = w
|
|
|
.create_entity_unchecked()
|
|
|
.with(Position { x, y })
|