Optimitzat el tema de comparacions i asignacions de strings buits. Mes que optimitzat, ara està mes mono
This commit is contained in:
@@ -35,7 +35,7 @@ Player::Player(int id, float x, int y, bool demo, SDL_Rect *play_area, std::vect
|
||||
demo_ = demo;
|
||||
status_playing_ = PlayerStatus::WAITING;
|
||||
scoreboard_panel_ = 0;
|
||||
name_ = "";
|
||||
name_.clear();
|
||||
setRecordName(enter_name_->getName());
|
||||
init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user