Skip to content

Commit

Permalink
Take 2 on compass update
Browse files Browse the repository at this point in the history
Looks like CleverRaven#36322
(Fixed `safemode doesn't work if compass is hidden CleverRaven#36236`)
extracted update logic from mon_info()
  • Loading branch information
va5h committed Jan 28, 2020
1 parent 9e7ee2c commit 0891a8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/panels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1736,13 +1736,15 @@ static void draw_compass( avatar &, const catacurses::window &w )
{
werase( w );
g->mon_info( w );
g->mon_info_update();
wrefresh( w );
}

static void draw_compass_padding( avatar &, const catacurses::window &w )
{
werase( w );
g->mon_info( w, 1 );
g->mon_info_update();
wrefresh( w );
}

Expand Down

0 comments on commit 0891a8b

Please sign in to comment.