Skip to content

Commit

Permalink
Fix cursor placement for printing visibility text.
Browse files Browse the repository at this point in the history
"point" constructor takes (x, y) and was being fed (y, x).
  • Loading branch information
richardnlarge committed Jan 24, 2024
1 parent df9b179 commit a14ce2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5863,7 +5863,7 @@ void game::print_visibility_info( const catacurses::window &w_look, int column,
break;
}

mvwprintw( w_look, point( line, column ), visibility_message );
mvwprintw( w_look, point( column, line ), visibility_message );
line += 2;
}

Expand Down

0 comments on commit a14ce2e

Please sign in to comment.