summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/message.h2
-rw-r--r--server/client.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/common/message.h b/common/message.h
index 76ebf95..4f1026e 100644
--- a/common/message.h
+++ b/common/message.h
@@ -137,12 +137,10 @@ namespace Message {
GameStart() : Base(Types::GameStart) {}
std::vector<std::string> players;
- int player_id;
template<class Archive>
void serialize(Archive & ar, const unsigned int v) {
ar & players;
- ar & player_id;
}
};
diff --git a/server/client.cpp b/server/client.cpp
index af2494e..8929446 100644
--- a/server/client.cpp
+++ b/server/client.cpp
@@ -124,8 +124,6 @@ void Client::game_start(boost::function<void ()> callback, std::vector<std::stri
msg->players = players;
- msg->player_id = 0;
-
connection->send(msg);
connection->recv(boost::bind(&Client::handle_ready, shared_from_this(), _1, callback));