Select the hex of the speaker

Last part of bug #16350 by eleazar.
This commit is contained in:
Alexander van Gessel 2013-06-24 02:06:38 +02:00
parent e2a8aa6a60
commit e1e19c3bea

View file

@ -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);