mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 22:43:17 +00:00
removes unnecessary method declaration...
...and adds the one file i forgot for the last bugfix commit
This commit is contained in:
parent
d0a2b825e2
commit
e2c73fdc62
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user