Skip to content
Snippets Groups Projects
Commit 9b053e7d authored by Aidan Meara's avatar Aidan Meara
Browse files

fixed cores vector initialization

parent e41251df
No related branches found
No related tags found
1 merge request!17finalize common
......@@ -46,7 +46,7 @@ player::player(const std::string& id, const std::string& name) :
unique_serializable(id)
{
this->_player_name = new serializable_value<std::string>(name);
this->_scores = std::vector< serializable_value<int>*>(0);
this->_scores = std::vector<serializable_value<int>*>(1, new serializable_value<int>(0));
this->_hand = new hand();
this->_nof_predicted = new serializable_value<int>(-1);
this->_nof_tricks = new serializable_value<int>(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment