diff --git a/src/playsingle_controller.cpp b/src/playsingle_controller.cpp index d490b0b5c3b..64ff018a762 100644 --- a/src/playsingle_controller.cpp +++ b/src/playsingle_controller.cpp @@ -385,10 +385,14 @@ void playsingle_controller::play_turn(bool save) init_side(player_number_ - 1); if (replaying_){ - /* YogiHH: I can't see why we need another key_handler here in addition - to the one defined in play_controller. Since this is causing problems with - double execution of hotkeys i will comment it out - const hotkey::basic_handler key_events_handler(gui_); + /* YogiHH: I can't see why we need + another key_handler here in addition + to the one defined in + play_controller. Since this is causing + problems with double execution of + hotkeys i will comment it out const + hotkey::basic_handler + key_events_handler(gui_); */ LOG_NG << "doing replay " << player_number_ << "\n"; try { @@ -419,8 +423,9 @@ void playsingle_controller::play_turn(bool save) void playsingle_controller::play_side(const unsigned int team_index, bool save) { do { - //although this flag is used only in this method it has to be a class member - //since derived classes rely on it + //although this flag is used only in this method it + //has to be a class member since derived classes rely + //on it player_type_changed_ = false; end_turn_ = false;