Skip to content

Commit

Permalink
Merge pull request #40375 from Qrox/fix-overmap-blink
Browse files Browse the repository at this point in the history
Fix overmap UI blinking on curses build
  • Loading branch information
ZhilkinSerg authored May 9, 2020
2 parents ed9f3b9 + 4ff95c4 commit 8759d05
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/overmap_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1463,8 +1463,6 @@ static tripoint display( const tripoint &orig, const draw_data_t &data = draw_da
std::chrono::time_point<std::chrono::steady_clock> last_blink = std::chrono::steady_clock::now();

ui.on_redraw( [&]( const ui_adaptor & ) {
catacurses::erase();
catacurses::refresh();
draw( g->w_overmap, g->w_omlegend, curs, orig, uistate.overmap_show_overlays,
show_explored, fast_scroll, &ictxt, data );
} );
Expand Down

0 comments on commit 8759d05

Please sign in to comment.