doors render when they've been revealed

This commit is contained in:
Llywelwyn 2023-07-23 21:49:52 +01:00
parent ab5797078c
commit 72bd7558fa
2 changed files with 19 additions and 3 deletions

View file

@ -235,7 +235,7 @@ fn door(ecs: &mut World, x: i32, y: i32) {
.with(Position { x, y })
.with(Renderable {
glyph: rltk::to_cp437('+'),
fg: RGB::named(rltk::LIGHTYELLOW),
fg: RGB::from_f32(0., 1., 1.), // Same colour as stairs, should probably define this somewhere.
bg: RGB::named(rltk::BLACK),
render_order: 2,
})