diff options
author | Stijn Buys <ingar@osirion.org> | 2011-02-10 18:07:24 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-02-10 18:07:24 +0000 |
commit | 9ff5cf6184b9c5183c1f55cfa6c0d08586eb02c9 (patch) | |
tree | d50dd2d8ed48acfbb7063d4c073f77cb195106f7 /src/core/netclient.cc | |
parent | a255dbc032d15a4f5024bc60baa19c45ebceecc6 (diff) |
Added a local chat channel. The say command defaults to zone chat, global messages can be send with the shout command.
Removed NonSolid flag fro race objects, have race use the local chat channel.
Updated to network protocol version 22.
Updated developer documentation.
Diffstat (limited to 'src/core/netclient.cc')
-rw-r--r-- | src/core/netclient.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/netclient.cc b/src/core/netclient.cc index 46694a6..01de8b8 100644 --- a/src/core/netclient.cc +++ b/src/core/netclient.cc @@ -34,7 +34,7 @@ NetClient::NetClient(std::string host, int port, int fd) : abort(); return; } - con_print << host << ":" << port << " connected." << std::endl; + con_print << host << ":" << port << " connected" << std::endl; client_addr.sin_family = AF_INET; client_addr.sin_port = htons(port); @@ -58,7 +58,7 @@ NetClient::NetClient(std::string host, int port, int fd) : NetClient::~NetClient() { - con_print << host() << ":" << port() << " disconnected." << std::endl; + con_print << host() << ":" << port() << " disconnected" << std::endl; delete client_player; } |