summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-06-12 15:42:08 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-06-12 15:42:08 +0200
commit291d092775f815d62677e2cec5726e76771a05d4 (patch)
treea9c9f8e3208292dbc20a8a8a8482bf37fe499896
parent47b5cc0fa866a2de0964900ab5e4433413b4faf5 (diff)
Send dummy players.
m---------common0
-rw-r--r--server.cpp6
2 files changed, 6 insertions, 0 deletions
diff --git a/common b/common
-Subproject 042055b251bba4d8a59e16ca47721543cae346c
+Subproject 1f97ccdac792c0b5b07972e7d4b2f28416046ea
diff --git a/server.cpp b/server.cpp
index e2fd37d..33abb00 100644
--- a/server.cpp
+++ b/server.cpp
@@ -36,6 +36,12 @@ void Server::handle_connect(Connection::p connection) {
% connection->socket.remote_endpoint().address().to_string()).str());
m.send(connection->socket);
+ message::Player p(0, Vector3(0, 52, 0), "foooooooooooooooooooooo");
+ p.send(connection->socket);
+
+ message::Player p2(1, Vector3(5, 50, 5), "b");
+ p2.send(connection->socket);
+
async_read(connection);
/*boost::asio::streambuf b;