Skip to content

Commit

Permalink
Select the hex of the speaker
Browse files Browse the repository at this point in the history
Last part of bug #16350 by eleazar.
  • Loading branch information
AI0867 committed Jun 24, 2013
1 parent e2a8aa6 commit e1e19c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game_events.cpp
Expand Up @@ -2717,6 +2717,7 @@ unit_map::iterator handle_speaker(
LOG_NG << "set speaker to '" << speaker->name() << "'\n";
const map_location &spl = speaker->get_location();
screen.highlight_hex(spl);
screen.select_hex(spl);
if(scroll) {
LOG_DP << "scrolling to speaker..\n";
const int offset_from_center = std::max<int>(0, spl.y - 1);
Expand Down

0 comments on commit e1e19c3

Please sign in to comment.