Fix rendering of ranged weapons
This commit is contained in:
parent
131537ec99
commit
23e187c7fd
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user