diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-06-12 15:42:08 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-06-12 15:42:08 +0200 |
commit | 291d092775f815d62677e2cec5726e76771a05d4 (patch) | |
tree | a9c9f8e3208292dbc20a8a8a8482bf37fe499896 | |
parent | 47b5cc0fa866a2de0964900ab5e4433413b4faf5 (diff) |
Send dummy players.
m--------- | common | 0 | ||||
-rw-r--r-- | server.cpp | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/common b/common -Subproject 042055b251bba4d8a59e16ca47721543cae346c +Subproject 1f97ccdac792c0b5b07972e7d4b2f28416046ea @@ -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; |