From 9ff5cf6184b9c5183c1f55cfa6c0d08586eb02c9 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 10 Feb 2011 18:07:24 +0000 Subject: 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. --- src/core/netclient.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/netclient.cc') 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; } -- cgit v1.2.3