mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 13:15:26 +00:00
Make some comments readable.
This commit is contained in:
parent
3c00806b11
commit
99d8133dc7
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user