removes unnecessary method declaration...

...and adds the one file i forgot for the last bugfix commit
This commit is contained in:
Jörg Hinrichs 2006-09-07 16:26:17 +00:00
parent d0a2b825e2
commit e2c73fdc62
2 changed files with 4 additions and 3 deletions

View File

@ -633,7 +633,10 @@ void display::scroll_to_leader(unit_map& units, int side)
const unit_map::iterator leader = find_leader(units,side);
if(leader != units_.end()) {
const hotkey::basic_handler key_events_handler(this);
/* YogiHH: I can't see why we need another key_handler here, therefore
i will comment it out
const hotkey::basic_handler key_events_handler(gui_);
*/
scroll_to_tile(leader->first.x,leader->first.y,ONSCREEN);
}
}

View File

@ -52,8 +52,6 @@ public:
virtual void end_unit_turn();
virtual void user_command();
void playsingle_slice();
protected:
virtual void play_turn(bool no_save);
virtual void play_side(const unsigned int team_index, bool save);