Better center flashing messages
This commit is contained in:
parent
0e5e823b0b
commit
550713aaf8
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ pub fn draw(resources: &mut Resources, bterm: &mut BTerm) {
|
|||
flashing_message.next_color();
|
||||
|
||||
bterm.print_color_centered_at(
|
||||
MAP_X + (MAP_WIDTH / 2) - 1,
|
||||
MAP_X + (MAP_WIDTH / 2),
|
||||
MAP_Y + MAP_HEIGHT,
|
||||
RGB::named(vga::get_by_index(flashing_message.color)),
|
||||
RGB::named(vga::BLACK),
|
||||
|
|
Loading…
Add table
Reference in a new issue