1
0
Fork 0

Fix rendering of ranged weapons

This commit is contained in:
Timothy Warren 2021-12-23 12:04:50 -05:00
parent 131537ec99
commit 23e187c7fd
2 changed files with 2 additions and 2 deletions

View File

@ -514,7 +514,7 @@ pub fn ranged_target(
&& screen_y > 1
&& screen_y < (max_y - min_y) - 1
{
ctx.set_bg(idx.x, idx.y, RGB::named(rltk::BLUE));
ctx.set_bg(screen_x, screen_y, RGB::named(rltk::BLUE));
available_cells.push(idx);
}
}

View File

@ -50,7 +50,7 @@ macro_rules! register {
}
}
const SHOW_MAPGEN_VISUALIZER: bool = true;
const SHOW_MAPGEN_VISUALIZER: bool = false;
#[derive(PartialEq, Copy, Clone)]
pub enum RunState {